Script which creates overlapping histograms?

Risposte (2)

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

Prodotti

Richiesto:

il 29 Apr 2014

Risposto:

il 14 Ago 2014

Community Treasure Hunt

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

Start Hunting!

Translated by