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 Center および File ExchangeNetworks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by