[R] Newbie Question About Setting Plot Axis Limits
Jason Rupert
jasonkrupert at yahoo.com
Thu Sep 24 01:36:40 CEST 2009
Using the following: plot(c(1,1), ylim=c(0, 15), xlim=c(0, 13))
However, it produces the following:
http://n2.nabble.com/Simple-Plot-Axis-Limits-Question-td3703091.html
This is not what I expected because I would have expected the origin to be (0, 0), but on the plot it looks a little different on the plot.
The y axis also appears to extend a little beyond 15. Is there some way to have the plot command respect the requested ylim and xlim settings?
Thanks again for any insight.
More information about the R-help
mailing list