Re: [R] margin between plot region and axes

From: Scionforbai <scionforbai_at_gmail.com>
Date: Mon, 17 Dec 2007 21:22:06 +0100

> My question: is there a way to add axes the usual way (as tried for the
> first graphic), but to erase the margin, so that the axes start at point
> (0/0) in my case.

Not really sure if this is what you ask, but maybe you should call your first plot() with xaxs="i" and yaxs="i". It reduces the default 4% increase on data range on both axis.



R-help_at_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. Received on Mon 17 Dec 2007 - 20:26:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Dec 2007 - 20:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.