Réf. : [R] Changing Color of Graphics Device

f.mercier@fr.fournierpharma.com f.mercier at fr.fournierpharma.com
Thu Aug 21 08:38:53 CEST 2003


Hi,
If you want to change the background color of the trellis plots, you can
try :

> trellis.device (bg="white")
... or to obtain a gray with 97% white and 3% black :
> trellis.device (bg=gray(0.97))

Kinds regards,
François




                                                                                                                                            
                      "Brunschwig, Hadassa                                                                                                  
                      {PDMM~Basel}"                 Pour :   r-help at stat.math.ethz.ch                                                       
                      <HADASSA.BRUNSCHWIG at R         cc :                                                                                    
                      oche.COM>                     Objet :  [R] Changing Color of Graphics Device                                          
                      Envoyé par :                                                                                                          
                      r-help-bounces at stat.m                                                                                                 
                      ath.ethz.ch                                                                                                           
                                                                                                                                            
                                                                                                                                            
                      21/08/03 08:29                                                                                                        
                                                                                                                                            
                                                                                                                                            




Hello!

Several of us here have tried to change the dark grey background color of
the graphics device, without success. This grey background color only so
far appears for Trellis plots. All other plots are shown with white
background color. Is there any way to change this color?

Regards

Dassy

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list