[R] Newbie Question About Setting Plot Axis Limits

Jason Rupert
2009-09-23T23:36:40Z

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.