[R] plot several histograms with same y-axes scaling using hist()

Philipp Pagel p.pagel at wzw.tum.de
Fri Apr 29 13:39:02 CEST 2011

On Fri, Apr 29, 2011 at 03:35:41AM -0700, hck wrote:
> Problem: hist()-function, scale = “percent”
> ="Hist(na.exclude("&AA3&"), breaks=50, col=""seashell3"",
> scale=""percent"",xlim=c(-1, 1), xlab=""Bewertungsfehler"",
> ylab=""Haeufigkeit (in %)"", main=""KBV"", border=""white"")"

Before anyone can really help you'll need to let us know where your
Hist() function came from. 

hist() from package graphics does not have a scale parameter and
honours ylim without a problem.


Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany

More information about the R-help mailing list