[R] Background Colour in Lattice Plots

Deepayan Sarkar deepayan at stat.wisc.edu
Thu Nov 11 22:36:23 CET 2004


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




More information about the R-help mailing list