On Tue, May 3, 2011 at 10:40 AM, Joshua Wiley <jwiley.ps...@gmail.com> wrote: > The issue is the plotting region is slightly padded. The easiest > option, I think, would be to clip() it. I have a general sense that > one of the par() options would let you adjust the padding to 0, but I > could just be imagining that (anyone else??).
Not loving it, but this is sort of what I meant... plot(0:5, seq(0, 10, 2), axes=FALSE, xaxs = "i", yaxs = "i") axis(1, at=c(0,1,2,2.5,3,4,5), pos=0) axis(2, at=seq(0, 10, 2), pos=0) abline(h = 1:5) ______________________________________________ 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.