Dear David, this I already tried. But as you can see, the plot itself *is* colored. However, I want to have color = FALSE, so, unfortunately, this approach does not work...
Cheers, Marius On 2011-01-04, at 14:32 , David Winsemius wrote: > > On Jan 4, 2011, at 5:57 AM, Marius Hofert wrote: > >> Dear expeRts, >> >> I usually use par.settings = standard.theme(color = FALSE) to create lattice >> graphics >> without colors, so something like >> >> library(lattice) >> x <- runif(10) >> xyplot(x ~ 1:10, type = "l", par.settings = standard.theme(color = FALSE)) >> >> Now I would like to use an additional component in par.settings. I tried >> several things >> like >> >> xyplot(x ~ 1:10, type = "l", par.settings = c(standard.theme(color = FALSE), >> list(par.xlab.text = list(cex = 5, col = "blue")))) >> >> but it doesn't work. I know I could use lattice.options() but is there a way >> to get it >> right ("locally") with par.settings? > > Add it as a list element: > > xyplot(x ~ 1:10, type = "l", par.settings = list(standard.theme(color = > FALSE), par.xlab.text = list(cex = 5, col = "blue"))) > > -- > > David Winsemius, MD > West Hartford, CT > ______________________________________________ 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.