[R] rotated ylab with xyplot

Viet Nguyen vietnguyen at fastmail.fm
Tue Nov 29 05:32:49 CET 2005


hi all,

in R, what's the best way to have a rotated ylab in a graph plotted with 
either xyplot or xYplot?  I tried this but it didn't work.

xyplot(y~x,data.frame(x=1:10,y=runif(10)),ylab=list(srt=90,crt=90,rot=90,label="my label"))


more generally, how do you output a text at an angle in a lattice graph?

what would be a good reference for R lattice graphics?  I need more help 
than the help pages provide.

thank you in advance.

vn




More information about the R-help mailing list