[R] Automatic adjustment of axis ranges

Daniel Mastropietro mastropi at uwalumni.com
Thu Jul 18 02:13:03 CEST 2002


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:

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.

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