On 5/20/2008 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.
How does one force this?

See the xaxs and yaxs parameters in help("par"), for example

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

does what you ask. It's also clear from that plot why this is not the default: two of the points are nearly invisible.

Duncan Murdoch


I searched for graphical parameters under par(graphics) but can't seem to
find it.

Thanks!
David

______________________________________________
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.

______________________________________________
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