Problem using hist3 function (segmentation)

조회 수: 8 (최근 30일)
Fabian Gudella
Fabian Gudella 2017년 2월 13일
편집: Fabian Gudella 2017년 2월 13일
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개)

카테고리

Help CenterFile Exchange에서 Networks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by