[R] how can I find actual axis limits for an existing plot?
E.Vettorazzi at uke.uni-hamburg.de
Fri Mar 20 18:21:29 CET 2009
You are probably interested in par("usr")
Mark Borowsky schrieb:
> I would like to query an existing plot to learn the actual x and y
> limits of the plottable area. Is this possible? I can discover the
> extreme tick mark locations but not the actual plot area limits.
> Setting the limits with ylim will not help in this case because I am
> overplotting an existing plot with a separate function, and I don't
> want my end-user to have to pass parameters around.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help