[6473] in s-news-athena

home help back first fref pref prev next nref lref last post

trellis setting for strip.names background color

daemon@ATHENA.MIT.EDU (Shawn Boles)
Tue Feb 21 19:29:12 1995

Date: Tue, 21 Feb 1995 16:18:54 -0800
From: Shawn Boles <shawn@shadowfax.ori.org>
To: s-news@utstat.toronto.edu


In looking at the trellis settings documentation I am not able to
ascertain which component controls the background of strip names.
 I have tried the following:

# make local copy in .Data directory
> trellis.settings.color<-trellis.settings.color
> find(trellis.settings.color)
[1] ".Data"                               
[2] "/usr2/splus3.1/library/trellis/.Data"
> str(trellis.settings.color$strip.factor)
List of 1
 $ col: num [1..7] 13 12 11 10  9 ...

# change strip.factor settings to those of black & white device
> trellis.settings.color$strip.factor<-trellis.settings.bwps$strip.factor

> 
> trellis.settings.color$strip.factor$col
[1] 0 0 0 0 0 0 0


# still get color(cyan I believe) bg on strip.factor
# so shut down device and force reread of settings
> dev.cur()
 openlook 
        3
> dev.off()
 openlook 
        2
> trellis.device(openlook)
> # still get color on bg of strip.factor
> 
> trellis.settings.color$strip.factor$col
[1] 0 0 0 0 0 0 0
> 


# force trellis.settings$strip.factor$col to 0
> trellis.settings$strip.factor$col
[1] 9   # have no idea where trellis got this...
> trellis.settings$strip.factor$col<-0

> trellis.settings$strip.factor$col
[1] 0
> 
# still get color bg


# so maybe strip.factor is wrong component....


any help in setting background on trellis.device(openlook) panel
factor labels would be appreciated...



Shawn Boles

Senior Research Analyst,           *Internet: shawn@ori.org
Oregon Research Institute

Senior Research Associate,          Internet: sboles@oregon.uoregon.edu
University of Oregon

City Councilor, Ward 7              Internet: ceexsmb@.eug001.ris.or.gov
City of Eugene

....................... non nova, sed novae .............................

home help back first fref pref prev next nref lref last post