An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041111/ae32a779/attachment.pl
Background Colour in Lattice Plots
3 messages · Sivakumar Mohandass, Sundar Dorai-Raj, Deepayan Sarkar
Sivakumar Mohandass wrote:
Dear all, How can I change the default background to white in lattice plots? Thanks, Shiva.
Hi Shiva, Depending on what version of R/Lattice you have, you can do the following: # R-2.0.0/Lattice 0.10-13 trellis.par.set(theme = col.whitebg()) # pre R-2.0.0 lset(col.whitebg()) --sundar
On Thursday 11 November 2004 15:09, Sivakumar Mohandass wrote:
Dear all, How can I change the default background to white in lattice plots?
One possibility: start with
library(lattice) lattice.options(default.theme = col.whitebg())
For more, read ?trellis.device. Deepayan