[R] Black and white lattice plots

Deepayan Sarkar deepayan at stat.wisc.edu
Wed Feb 9 18:22:05 CET 2005


On Wednesday 09 February 2005 09:50, David Parkhurst wrote:
> How can I get lattice plots (with xyplot, etc.) to be produced in
> black and white, rather than in color?  I’m using R 2.0.1 under
> windows XP.

This happens automatically for postscript output. Otherwise, start your 
device with

trellis.device(color = FALSE)

See ?trellis.device for details.

Deepayan




More information about the R-help mailing list