s-news
[Top] [All Lists]

Trellis colors

To: <s-news@lists.biostat.wustl.edu>
Subject: Trellis colors
From: "Roberts, J. Kyle" <jkrobert@bcm.tmc.edu>
Date: Mon, 31 Oct 2005 10:59:01 -0600
Thread-index: AcXePGRVtBrApfJHTCmP4be4bJmuEQ==
Thread-topic: Trellis colors
Dear All,
 
I use the following commands to change the plot and line colors of a Trellis graph to black for use in publications.
 
#### Changes the color of the lines
line<-trellis.par.get("plot.line")
line$col<-1
trellis.par.set("plot.line", line)
 
####Changes the color of the plots
new.symbol<-trellis.par.get("plot.symbol")
new.symbol$col<-1
trellis.par.set("plot.symbol", new.symbol)
 
#### Plots the regression lines for each group
plot(augPred(lme.out.2))
 
What command do I use to change the color of the orange/yellow bar above each graph?  I have looked everywhere, but can't find it.
 
Thanks,
Kyle
 
 
***************************************
J. Kyle Roberts, Ph.D.
Baylor College of Medicine
Center for Educational Outreach
One Baylor Plaza, MS:  BCM411
Houston, TX   77030-3411
713-798-6672 - 713-798-8201 Fax
jkrobert@bcm.edu
***************************************
 
<Prev in Thread] Current Thread [Next in Thread>