Problem using hist3 function (segmentation)

8 vues (au cours des 30 derniers jours)
Fabian Gudella
Fabian Gudella le 13 Fév 2017
Modifié(e) : Fabian Gudella le 13 Fév 2017
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!

Réponses (0)

Catégories

En savoir plus sur Networks dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by