Re: [R] Alignment of axes intersection

From: Charilaos Skiadas <>
Date: Tue, 20 May 2008 12:08:32 -0400

On May 20, 2008, at 11:49 AM, David Afshartous wrote:

> All,
> Very basic question I can't seem to find the answer to:
> plot(0:10, 0:10)
> The axes intersection is not aligned at (0,0) in the lower left.

This is on purpose, so that data points are not obscured by the axes. The axis range is always selected as a bit bigger than the value range. Perhaps this does what you want:

plot(0:10, 0:10, xaxs="i", yaxs="i")

If it doesn't then we probably need more info.

> How does one force this?
> I searched for graphical parameters under par(graphics) but can't
> seem to
> find it.
> Thanks!
> David

Haris Skiadas
Department of Mathematics and Computer Science Hanover College mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 20 May 2008 - 21:03:45 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 Tue 20 May 2008 - 21:30:59 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive