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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to