[R] how to change the trellis graph background color

Wiener, Matthew matthew_wiener at merck.com
Fri Mar 31 23:55:48 CEST 2006


Take a look at trellis.par.set().

For example, trellis.par.set(theme = col.whitebg()) changes things to look
more or less like the default from the "standard" R graphics functions.  But
you can change one option at a time too.

Hope this helps,

Matt Wiener 

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Lisa Wang
Sent: Friday, March 31, 2006 4:23 PM
To: R-Help
Subject: [R] how to change the trellis graph background color

Hello there,

Please shed some light on how to change the background color of trellis
graphic background. 


Thanks a lot

lisa Wang
Toronto, Ca

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html




More information about the R-help mailing list