How can I plot a 3D Histogram

10 visualizaciones (últimos 30 días)
Sebastian
Sebastian el 5 de Jun. de 2013
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

Respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by