On Wed, 23 Sep 2009, Jason Rupert wrote:

Using the following: plot(c(1,1), ylim=c(0, 15), xlim=c(0, 13))
<snip>
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?


 par(xaxs="i",yaxs="i")
 plot(c(1,1), ylim=c(0, 15), xlim=c(0, 13))

     -thomas

Thomas Lumley                   Assoc. Professor, Biostatistics
tlum...@u.washington.edu        University of Washington, Seattle

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to