How to plot this frequency graph?
1 view (last 30 days)
Show older comments
Dear all,
I have runoff and precipitation data (as I attached), how I can achieve such a plot?
I tried this script:
histogram2(precipitation,runoff,'Normalization','count')
But it seems wrong and the range of x and y lines doesn't set between 0 to 1. The name of this plot below is bivariate frequency graph which is a histogram of precipitation and runoff.
Thank you in advance
2 Comments
Ive J
on 10 Oct 2021
Do you mean something like this?
pn = normalize(precipitation, 'range');
rn = normalize(runoff, 'range');
histogram2(rn, pn)
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Weather and Atmospheric Science 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!