Skip to content
Prev 33370 / 398513 Next

grid background color

Either use lset(col.whitebg()) to change a range of settings, including the
background colour to white.

Or, if you really only want to change the background colour, something like

b <- trellis.par.get("background")
b$col <- "white"
trellis.par.set("background",b)

should do the trick.

David

----- Original Message -----
From: "Ron Ophir" <lsophir at wisemail.weizmann.ac.il>
To: <r-help at stat.math.ethz.ch>
Sent: Monday, June 16, 2003 8:27 AM
Subject: [R] grid background color
wlways get gray background. I've tried to chang it by set
"...par.box=list(col="white")"