[R] R xyplot and background color
Manuel Morales
Manuel.A.Morales at williams.edu
Wed Feb 22 15:33:30 CET 2006
On Tue, 2006-02-21 at 12:49 -0800, Bryan Sykes wrote:
> Hi:
>
> I have tried (unsuccessfully) to change the default
> background color for my xyplot. I have used
> trellis.device(bg = "white", new = F) and
> par(bg="white") before my xyplot command. Yet the
> color of the background has not changed. Is there
> something else I need to do? I am using a windows
> based machine to do this.
Try xyplot(..., par.settings=list(background="white"))
HTH,
Manuel
More information about the R-help
mailing list