How to draw histogram with known values and their ratio?
8 views (last 30 days)
Show older comments
Commented: Wenyi Xiao on 7 Jul 2019
Row 2 is the ratio and Row 3 are X values.
My question is how to draw a distribution plot with known X values and their specific values of ratio.
Image Analyst on 7 Jul 2019
Do you mean row? Or column?
Have you tried
And I really have no idea what "a distribution plot with known X values and their specific values of ratio." is. Maybe you can re-word that to explain it better.
But in general histogram() creates and plots distributions as bar charts. Or you can use histcounts() followed by bar().
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!