[R] Changing background in splom et al.
Gabor Grothendieck
ggrothendieck at myway.com
Wed Mar 3 14:13:49 CET 2004
In Word, right click your picture, choose Format Picture,
select the Picture tab and under Color: choose Greyscale.
Depending on your printer, your print driver may also have
some options to this effect that you can access after choosing
File | Print.
There is undoubtedly a solution on the R side too but I usually
do touch up in Word so I can use the GUI.
Date: Wed, 3 Mar 2004 12:09:51 +0100
From: <v.demartino2 at virgilio.it>
To: r-help <r-help at stat.math.ethz.ch>
Subject: [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
More information about the R-help
mailing list