[R] Mixed font in lattice xyplot lables

Andrewjohnclose a.j.close at ncl.ac.uk
Sat Sep 26 17:33:31 CEST 2009


Hi all, can anyone suggest a reason as mto why my xlab is plotting this text
at oposite ends of axis. I would like to represent my lable like this:
Moran's I ...but with the I in italics. For some reason they seperate and
position at oposite ends of the axis??

Thank you

library(lattice)
dat <- data.frame(x = rnorm(10),y = rnorm(10))
xyplot(y ~ x, dat,xlab=expression("Moran's ",italic("I")))
-- 
View this message in context: http://www.nabble.com/Mixed-font-in-lattice-xyplot-lables-tp25626332p25626332.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list