[R] y-axis in hist()

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Sep 4 11:42:05 CEST 2002



Stephan Holl wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Dear List,
> I have to plot some histograms with the hist()-function. My y-axis
> describes the relative counts in percent, so every y-axis should be from
> 0-100.
> My problem is, that the y-axis stops at the maximum value and does not
> reach up to 100.
> Is it possible to use a fixed y-axis for all my plots?
> 
> Thank you for your help

  hist(..., ylim = c(0, 100))

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list