On Wednesday 06 February 2008 (15:14:28), [EMAIL PROTECTED] 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)

Try:

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),pos=1)

The 'pos=' argument does the trick.

Best,
Martin

______________________________________________
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