An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20040115/f7612321/attachment.pl
Lattices: Cloud: Background
3 messages · Mueller, Adrienne, John Fox, Roger D. Peng
Dear Adrienne, I'm aware of a couple of ways to get a white background in trellis graphics. One is lset(col.whitebg()). I hope that this helps, John
At 07:04 PM 1/15/2004 +0000, Mueller, Adrienne wrote:
Hi, There's probably some simple way of doing this, but I'm just not seeing it - How do I get the background to be white instead of grey when I have a cloud plot (using the lattices package)? par(bg="white") isn't working. I'm assuming par commands won't work on lattice plots. What should I use instead?
----------------------------------------------------- John Fox Department of Sociology McMaster University Hamilton, Ontario, Canada L8S 4M4 email: jfox at mcmaster.ca phone: 905-525-9140x23604 web: www.socsci.mcmaster.ca/jfox
Try
trellis.par.set("background", list(col = 0))
Or you can explicitly launch the trellis device and set `bg = 0'.
-roger
Mueller, Adrienne wrote:
Hi, There's probably some simple way of doing this, but I'm just not seeing it - How do I get the background to be white instead of grey when I have a cloud plot (using the lattices package)? par(bg="white") isn't working. I'm assuming par commands won't work on lattice plots. What should I use instead? Thanks, Adrienne [[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html