Re: [R] axis of plot

From: Marc Schwartz (via MN) <mschwartz_at_mn.rr.com>
Date: Fri 02 Sep 2005 - 02:08:45 EST

On Thu, 2005-09-01 at 16:58 +0100, herodote@oreka.com wrote:
> hy,
>
> I need to have the 0 on the bottom left corner of the graph being
> joined , not with this little hole between x axis and y axis...
>
> I've saw this question with the answer one time but i'm unable to find
> it again..
>
>
> thks.
> guillaume

See 'xaxs' and 'yaxs' in ?par:

plot(1:5, xaxs = "i", yaxs = "i", xlim = c(0, 5), ylim = c(0, 5))

By default, both are set to "r", which adds +/- 4% to the range of each axis.

HTH, Marc Schwartz



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Sep 02 02:14:47 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:16:22 EST