trellis.device(bg="white", color=F) before your call to splom could make what you want but take also a look at
?trellis.par.set Stefano > -----Messaggio originale----- > Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Inviato: mercoled� 3 marzo 2004 12.10 > A: r-help > Oggetto: [R] Changing background in splom et al. > > > Context: Windows XP, R 1.8.1 > > I'm studying Venables-Ripley "MASS" book and having a go at > the many examples > in library MASS. The code I'm checking (from script ch04.R) now is > > ...... > data(swiss) > splom(~ swiss, aspect = "fill", > panel = function(x, y, ...) { > panel.xyplot(x, y, ...); panel.loess(x, y, ...) > } > ) > > which produces an agreable plot with a gray background and > cyan points, > but..... > Copying the plot as a metafile into Word and having a laser > printer I'd > better stick to a b/w plot. > > How can I turn the background to white and the cyan points to black? > > Ciao - Vittorio > > ______________________________________________ > [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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
