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

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to