Skip to content
Prev 71028 / 398498 Next

Histogram of multiple series on one histogram

Hello alexandre,

what you are trying to do is *not* an histogram (as a density 
estimator), if you divide each bar in 3, the surfaces of a won't sum to 1.
However a barplot or a barplot2 (in package gplots, bundle gregmisc) 
would do the trick.
See graph 54 on the graph gallery :
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=54

BTW, don't call your vector 'c' unless you want funny things to happen

Romain


Le 03.06.2005 18:14, Depire Alexandre a ??crit :