Hi,
----- Original Message -----
From: "Jason Bond" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 8:06 AM
Subject: [R] exact range of axes in plots
> Hello. I was wondering how one can find the exact values of the range of
> an axis within a plot. In xlispstat it was (send plot :range 0). Thanks
much,
Is xlim and ylim in the plot() what you want? For example:
> x <- rnorm(100)
> plot(x)
> plot(x, xlim = c(20, 80), ylim = c(-2, 2))
the second plot() will restrict the range of x-axis to be between 20 and 80,
y-axis between -2, 2.
Cheers,
Kevin
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help