Skip to content
Prev 57401 / 398500 Next

R plot problems

Use text(), for which srt will work.  As an example:

plot(rnorm(20), rnorm(20), xaxt="n")
text(-2:2, rep(par("usr")[3], 5), 
     c("negative two", "negative one", "zero", "one", "two"),
     srt=45, xpd=NA, adj=1)

HTH,
Andy