Script which creates overlapping histograms?
3 views (last 30 days)
Show older comments
Hello :-)
does anyone know if there is an existing script available which can create a histogram like that:
Many thanks! :-)
0 Comments
Answers (2)
the cyclist
on 29 Apr 2014
[count1,center1] = hist(randn(500,1));
[count2,center2] = hist(randn(500,1)+3);
figure
hold on
b1=bar(center1,count1,'r')
b2=bar(center2,count2,'b')
0 Comments
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!