Script which creates overlapping histograms?

Hello :-)
does anyone know if there is an existing script available which can create a histogram like that:
Many thanks! :-)

回答 (2 件)

the cyclist
the cyclist 2014 年 4 月 29 日

0 投票

[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')

カテゴリ

製品

質問済み:

2014 年 4 月 29 日

回答済み:

2014 年 8 月 14 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by