[R] Lattice background color answer
Bliese, Paul D MAJ WRAIR-Wash DC
Paul.Bliese at NA.AMEDD.ARMY.MIL
Tue May 28 12:30:57 CEST 2002
It turns out that there is a color named "transparent" that does the trick
with the trellis device. Thanks to Brian Ripley for pointing it out.
My original post is below, but it boils down to "how can I make a trellis
graph that doesn't contain any background color?" This can be useful when
you paste graphics into documents that have non-white backgrounds.
Paranthetically, I note that his response to my question (5/27/02 4:43
PM)actually made it to my mailbox before my actual question did (5/27/02
4:48 PM)...one doesn't get much quicker advice than that.
From: Bliese, Paul D MAJ WRAIR-Wash DC
To: 'r-help at stat.math.ethz.ch'
Sent: 5/27/02 3:51 PM
Subject: [R] lattice background color
I'm sure there is a simple answer to this question, but it stumps me so
I've been using R to create graphic images and paste them into other
programs (Word, PowerPoint).
Recently, I've been using lattice (wonderful package), but I can't
out how to create graphs in lattice that don't have a background color
that is, my graphs carry over the grey background if I use the default.
can change the background color to white, and as long as I paste the
into a white document everything is fine, but that only works for white
Any ideas on how to get a NULL background color. Note that the
graphics do not carry over the background color. The following simple
solution does NOT work:
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
More information about the R-help