On 1/13/06, Waichler, Scott R <[EMAIL PROTECTED]> wrote:
>
> I can't find a way to change just the panel background color in lattice.
> I would like NA regions in levelplot() to appear black. I've tried the
> trellis.par.set() stuff, but it it makes the background of the whole
> graphic black.
Use panel.fill in a panel function, e.g. (untested)
panel = function(...) {
panel.fill(col = "black")
panel.levelplot(...)
}
-Deepayan
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html