Alex, Does changing the color argument of the default theme associated with the device to what you want?
See the "color" argument in ?trellis.device. As an example, try the following with and without the "trellis.device" call... trellis.device(color = FALSE) dotplot(t(USPersonalExpenditure), groups = FALSE, index.cond = function(x, y) median(x), layout = c(1, 5), main = "test1", type = c("p", "h"), xlab = "Expenditure (billions)") HTH, Erik Iverson -----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Alex van der Spek Sent: Wednesday, August 05, 2009 6:35 AM To: r-help@r-project.org Subject: [R] Lattice: change background of conditioning variable box For publication purposes I need to come up with B&W images (grey codes allowed). For normal R graphics this presents no problem. For lattice graphics, I can get everything B&W except for the box in which the conditioning variables are written per panel. I have searched the manuals but to no avail. Is there anyone who can point me in the right direction? Thanks in advance! Alex van der Spek ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.