Use strip = strip.custom(...) in the xyplot call to alter the parameters of the function that produces the strips. In particular, see the par.strip.text argument of ?strip.default.
Cheers, Bert On Tue, Jun 21, 2011 at 6:36 PM, Kenneth Roy Cabrera Torres <krcab...@une.net.co> wrote: > 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. > -- "Men by nature long to get on to the ultimate truths, and will often be impatient with elementary studies or fight shy of them. If it were possible to reach the ultimate truths without the elementary studies usually prefixed to them, these would not be preparatory studies but superfluous diversions." -- Maimonides (1135-1204) Bert Gunter Genentech Nonclinical Biostatistics ______________________________________________ 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.