Skip to content

axis of plot

2 messages · herodote@oreka.com, Marc Schwartz (via MN)

#
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
#
On Thu, 2005-09-01 at 16:58 +0100, herodote at oreka.com wrote:
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