Borrar filtros
Borrar filtros

Script which creates overlapping histograms?

1 visualización (últimos 30 días)
mick strife
mick strife el 29 de Abr. de 2014
Respondida: Chad Greene el 14 de Ag. de 2014
Hello :-)
does anyone know if there is an existing script available which can create a histogram like that:
Many thanks! :-)

Respuestas (2)

the cyclist
the cyclist el 29 de Abr. de 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')

Chad Greene
Chad Greene el 14 de Ag. de 2014
histf will do it.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by