Re: [R] axis help

From: Martin Elff <>
Date: Wed, 6 Feb 2008 20:40:07 +0100

On Wednesday 06 February 2008 (15:14:28), wrote:
> Hi, i'm having trouble with my x and y axis. The commands i'm using are
> below. The problem is that the y axis starts at coordinate 0,1 and the x
> axis starts at coordinate 0,0. As far as I know the y axis can't start
> at 0 (because it's log scaled) ,so I would like to position the x axis at
> 0,1 but don't know how to do this. Could anyone advise?
> axis(1,at=c(0,0.6,1.1,1.6,2.1,2.6,3.1,3.6),labels=c(0,3,4,5,6,7,8,NA))
> axis(2)



The 'pos=' argument does the trick.

Martin mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed 06 Feb 2008 - 19:42:32 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 Wed 06 Feb 2008 - 20:30:12 GMT.

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

list of date sections of archive