[R] How to get xlim & ylim afterwards...

HENRIK Bengtsson henrik at stat.berkeley.edu
Tue Feb 13 01:21:07 CET 2001

After plotting how can you get the x and y limits of the plot? I would
like to do something like:

  plot.area <- plot.get.area();
  xlim <- plot.area$xlim;
  ylim <- plot.area$xlim;

Is there a "plot.get.area()" method? I need it to place my legends.

Thank you!

Henrik Bengtsson

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