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!