How can I plot a 3D Histogram

10 ビュー (過去 30 日間)
Sebastian
Sebastian 2013 年 6 月 5 日
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 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by