Skip to content

grid background color

2 messages · Ron Ophir, David Barron

#
Dear all,
I am trying to run cloud function in lattice library under r-1.7, and I wlways get gray background. I've tried to chang it by set "...par.box=list(col="white")"
or by gpar(background="white") but no result.
How do i do it?
Thanks in advance,
Ron
#
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")"