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! :-)

回答(2 个)

the cyclist
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')

Chad Greene
Chad Greene 2014-8-14
histf will do it.

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by