[R] Lattices: Cloud: Background

Roger D. Peng rpeng at jhsph.edu
Thu Jan 15 23:49:28 CET 2004


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
>




More information about the R-help mailing list