Re: [R] axis label justified

From: Mulholland, Tom <Tom.Mulholland_at_dpi.wa.gov.au>
Date: Fri 19 Aug 2005 - 11:23:17 EST


I note that the axis help seems to refer to padj. After playing around it is obvious that I don't know what is meant by this argument, so maybe I'm doing something wrong. My practical soultion is

plot(1:50,axes = FALSE,ylab = "")
axis(2,at = 1:50,labels = rep("",50),las = 2,padj = 0)
text(rep(-4,5),1:50,labels=paste('a',1:50,sep=''),xpd = TRUE,adj = 0,cex=0.5)

Tom

> -----Original Message-----
> From: r-help-bounces@stat.math.ethz.ch
> [mailto:r-help-bounces@stat.math.ethz.ch]On Behalf Of array chip
> Sent: Friday, 19 August 2005 7:09 AM
> To: r-help@stat.math.ethz.ch
> Subject: [R] axis label justified
>
>
> Hi, I am trying to make my axis labels left justified,
> and have used adj=0 in the axis() without success. Can
> anyone have a suggestion?
>
> axis(2,at=1:50,labels=paste('a',1:50,sep=''),las=2,cex.axis=0.
> 5,adj=0,tck=0,mgp=c(3,0.5,0))
>
> Thanks
>
> ______________________________________________
> 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
>



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 Aug 19 11:29:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:54 EST