[R] lattice: par.settings with standard.theme() + additional arguments?
Marius Hofert
m_hofert at web.de
Tue Jan 4 11:57:26 CET 2011
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?
Cheers,
Marius
More information about the R-help
mailing list