Script which creates overlapping histograms?
1 次查看(过去 30 天)
显示 更早的评论
Hello :-)
does anyone know if there is an existing script available which can create a histogram like that:
Many thanks! :-)
0 个评论
回答(2 个)
the cyclist
2014-4-29
[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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Histograms 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!