Re: [R] Newbie Question About Setting Plot Axis Limits

2009-09-23 Thread Thomas Lumley
On Wed, 23 Sep 2009, Jason Rupert wrote: Using the following: plot(c(1,1), ylim=c(0, 15), xlim=c(0, 13)) 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 be

Re: [R] Newbie Question About Setting Plot Axis Limits

2009-09-23 Thread andrew
This is not a complete answer, but try the following in order plot(c(1,1), ylim=c(0, 15), xlim=c(0, 13), axes = FALSE) axis(1) axis(2) box() If you want lines, use abline. Hacking something together can be done with these commands. On Sep 24, 9:36 am, Jason Rupert wrote: > Using the following

[R] Newbie Question About Setting Plot Axis Limits

2009-09-23 Thread Jason Rupert
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