[R] Automatic adjustment of axis ranges
Daniel Mastropietro
mastropi at uwalumni.com
Thu Jul 18 02:13:03 CEST 2002
Hello,
I would like to know if it is possible to add new points to a given plot
and that the axis ranges be automatically adjusted so that all the new
points are seen in the plot.
For example, I am thinking of something like this:
plot(1:10,1:10);
points(5:20,2*(5:20)); # This would change the x range to 0-20 and the y
range to 0-40 so that all the new points are fitted in the graph.
Thanks
Daniel Mastropietro
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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