How can I plot a 3D Histogram
10 次查看(过去 30 天)
显示 更早的评论
Hello everybody,
I am having trouble to plot a 3D Histogram. I have the vectors ‘x’ and ‘y’ which correspond to the x and y axis. And I have a matrix ‘mat’. With this data I can produce nice plots with the mesh command. Now, I would like to convert my mesh-plot (surface) into a histogram.
I tried to use hist3, but this command seams to bin the data, which I have already done. The result of this is saved in matrix ‘mat’. The bar3 command kind of works, but the colors are not height dependent. Does anybody know how to produce such a 3D histogram?
Thank you for your help
Sebastian
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!