Histogram of joint probability distribution
Show older comments
Hi, I would like to ask how is it possible to plot a 3D histogram (chart type in excel = 3-D column) based on a joint probability table?
for instance,
gender
jan feb mar apr
male 0.05 0.15 0.025 0.375
female 0.125 0.075 0.05 0.15
I've searched through hist3. but it seems that we need to have the inputs of X, Y, Z, which appear to be in the same length.
in this case, what shall be the inputs to plot a 3D histogram? Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!