Hi R users:

I want to have a italic font on the microorganism names,
but not on the other labels.

How can I do that?

library(lattice)
t<-rep(seq(0,20,5),2)
logCFU<-c(2,2.5,3,4,4.5,1.5,2,2.5,3,3.4)
microorg<-factor(rep(c("E. coli","L. monocytogenes"),each=5))
xyplot(logCFU~t|microorg,fontface="italic")

Thank you for your help.

Kenneth

______________________________________________
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