Skip to content
Prev 22768 / 398502 Next

Help with Lattice

Use scale=list(alternating=...) inside your trellis calls.
Here's how I set the strips and shingles to all white:

trls.strp.bg <- trellis.par.get('strip.background')
trls.strp.sg <- trellis.par.get('strip.shingle')
trls.strp.bg$col <- rep(0, 7)
trls.strp.sg$col <- rep(0, 7)
trellis.par.set('strip.background',trls.strp.bg)
trellis.par.set('strip.shingle',trls.strp.sg)

Not sure what you mean by `box around the strip'.

HTH,
Andy
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._