Re: [R] text/mtext axis labels on graphs

2010-10-07 Thread Greg Snow
hcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Martin Hughes > Sent: Thursday, October 07, 2010 4:30 AM > To: r-help@r-project.org > Subject: [R] text/mtext axis labels

Re: [R] text/mtext axis labels on graphs

2010-10-07 Thread Jim Lemon
On 10/07/2010 09:29 PM, Martin Hughes wrote: Hello everyone I have problem with axis labels on graphs, I have my code as below: plot(0,0,xlim=c(1,ncol(PA)),ylim=c(1,nrow(PA)),main="Stratigraphic Range",xlab="Time Bins",ylab="Taxa",cex.axis=1.5,cex.lab=2,cex.main=2.5,mgp=c(5,1.5,0),xaxt="n")

[R] text/mtext axis labels on graphs

2010-10-07 Thread Martin Hughes
Hello everyone I have problem with axis labels on graphs, I have my code as below: plot(0,0,xlim=c(1,ncol(PA)),ylim=c(1,nrow(PA)),main="Stratigraphic Range",xlab="Time Bins",ylab="Taxa",cex.axis=1.5,cex.lab=2,cex.main=2.5,mgp=c(5,1.5,0),xaxt="n") text(1:(length(strat_name)), y= 0, adj=1,