[R] Barplot axis titles

RagingJim nowa0021 at flinders.edu.au
Fri Feb 12 02:49:24 CET 2010


This worked:

dimkent<-dim(kent) 
axis.ticks<-seq(kent[1,1],kent[dimkent[1],1],by=10) 
barplot(Ann,main=title, xlab="Year",ylab="Rainfall (mm)",
ylim=c(0,ymax),col="blue",space=0)
axis(1,at=seq(1,rows,10),tcl=-0.5,labels=axis.ticks)

Thanks Jim! You just saved my life.

-- 
View this message in context: http://n4.nabble.com/Barplot-axis-titles-tp1476789p1478024.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list