Dear all, How can I change the default background to white in lattice plots? Thanks, Shiva. ____________________ Sivakumar Mohandass, Department of Entomology, Kansas State University. [[alternative HTML version deleted]]
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