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.

______________________________________________
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