matrix dimension mismatch in hist3 plot()
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am using the code below to create a hist3 plot.
My question is, why is the variable z data a 405x605 matrix?
I thought it would be 81x121 as defined by the variable edges?
Thank you
edges = {-4:0.1:4, 0:1:120}
hist3(Data,'Edges',edges);
set(gcf,'renderer','opengl');
s = get(gca,'child');
zData = get(s,'zData');
0 件のコメント
回答 (1 件)
Walter Roberson
2013 年 1 月 22 日
hist3 creates patches to represent the data. Each patch has more than one coordinate tuple.
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!