Problem using hist3 function (segmentation)
6 views (last 30 days)
Show older comments
Hi,
I am using the code below to create a hist3 plot out of an mx2 array (658180x2 double). As you can see in the attached graph, it works fine, exept that (especially) the red bars should have the same hight (same amount of counts in each bin). I am using following code:
if true
% code
end
%%Testplot 3D
%
% grid=50 %segmentation in grid*grid
%
% xmax=max(measure(:,1));
% ymax=max(measure(:,2));
%
% figure;
% % Edges
%
% edges = {(0:((xmax/grid)):xmax),(0:((ymax/grid)):ymax)};
% hist3(measure, 'Edges', edges);
%
%
% xlabel('x'); ylabel('y');
% set(gcf,'renderer','opengl');
% set(get(gca,'child'),'FaceColor','interp','CDataMode',...
% 'auto');
% title('TEST')

I think, there is a segmentation problem, I don´t understand. How can I get rid of this pattern? Is there another possibility to plot my data this way?
I hope you got an idea of my problem and you are able to help me with that.
Cheers!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!