Skip to content
Back to formatted view

Raw Message

Message-ID: <002b01c333de$7202d390$8b224381@sbs.ox.ac.uk>
Date: 2003-06-16T08:08:18Z
From: David Barron
Subject: 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


> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>