Paul, David A wrote:
I've been using par() to check the graphics parameters
associated with both plot(<fitted linear model>) and
plot(<grouped data object>).  AFAIK the only differences
are in the $cxy, $usr, $xaxp, and $yaxp parameters but
the background color for the grouped data plot is grey
while the linear model plot has a white background.

When I've tried par(bg = "white") prior to using the
plot(<grouped data object>) command it doesn't seem to make any
difference.

How can I change the grey background to something else?


Much thanks in advance, David Paul

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


Hi Paul,


This method calls lattice plots. An easy way to change the bg color is to call trellis.device explictely, e.g.

trellis.device(bg = 0)
plot(<grouped data object>)

Best,

Renaud

--
Dr Renaud Lancelot, v�t�rinaire
CIRAD, D�partement Elevage et M�decine V�t�rinaire (CIRAD-Emvt)
Programme Productions Animales
http://www.cirad.fr/fr/pg_recherche/page.php?id=14

ISRA-LNERV                      tel    +221 832 49 02
BP 2057 Dakar-Hann              fax    +221 821 18 79 (CIRAD)
Senegal                         e-mail [EMAIL PROTECTED]

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to