How to plot simple histogram of multiple variables?
Show older comments
Hello, I have the following data and my aim is to plot histograms in a single plot. Please, can you give me any hint how to start? And how to put specific colours of the histograms? Thank you!
x1 = normrnd(10,1,[1,1000]) %normal distribution
x2 = gamrnd(10,1,[1,1000]) %gamma distribution
x3 = exprnd(10,[1,1000]) %exponential distribution
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!