[R-SIG-Mac] background color in quartz graphics

hadley wickham h.wickham at gmail.com
Sun Dec 5 17:21:23 CET 2004

> Now a question to all. I tried using lattice graphics for the first
> time. Unlike other graphics, I notice a difference between what is
> drawn into quartz() devices and what is drawn using pdf() devices. In
> the former the background is grey and not particularly pretty. The
> background is the normal white in pdf devices. Am I doing something
> wrong?

I normally run trellis.par.set(col.whitebg()) before any lattice code
- this sets the default colourscheme to one with a white background,
similar to the default pdf output.


More information about the R-SIG-Mac mailing list