[R] ? Plot

Lara Jamieson L.E.Jamieson at statslab.cam.ac.uk
Wed May 17 19:21:49 CEST 2000


Yes you can specify the range when you first use plot.

Eg

plot(x,y,ylim=c(min,max))
Similarly xlim sets the range for x values.


On Wed, 17 May 2000, Yves Gauvreau wrote:

> Hi,
> 
> When you use plot(x,y) and next lines(x,y2). If the range of y2 is greater
> then y the graph range remains at the range of y. Is there a way to get the
> full range of both y and y2 or any other y's after that?
> 
> Thanks in advance
> 
> Yves
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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