How to plot a 3D Histogram

조회 수: 11 (최근 30일)
John Martinez
John Martinez 2013년 1월 31일
I have a series of ordered pairs (X, Y) and I want to plot a 3D histogram but I don't know Z, their probabilities. any suggestions?

답변 (2개)

Shashank Prasanna
Shashank Prasanna 2013년 2월 1일
You probably want 2D histogram which is visualized in 3D. You should be looking at the HIST3 function, look through this doc and let us know if this is what you want:

Image Analyst
Image Analyst 2013년 2월 1일
What are you counting? Are X and Y integers? Do you want to know the number of times each X and Y occur together as a pair? This would be a 2D histogram, though you could plot the bars in a perspective graph that looks 3D-ish where the bars rise above the flat x-y plane.

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by