Skip to content
Back to formatted view

Raw Message

Message-ID: <4193D90E.1010101@pdf.com>
Date: 2004-11-11T21:26:38Z
From: Sundar Dorai-Raj
Subject: Background Colour in Lattice Plots
In-Reply-To: <200411112107.iABL7uuZ012514@mail-h12-02.cc.ksu.edu>

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