[R] lattice: postscript with colors
Uwe Ligges
ligges at statistik.uni-dortmund.de
Fri Sep 13 16:50:43 CEST 2002
Wolfram Fischer wrote:
>
> [ R version 1.5.1 on Linux ]
>
> When I output a lattice graphic to a postscript file
> I receive black and white colors.
>
> How can I set the lattice.theme$X11 or another colored theme
> for a postscript file ?
Two ways as examples: The first is simpler in a way, and "better" (white
background) for printing.
1.
trellis.device("postscript", color=TRUE)
xyplot(...)
dev.off()
2.
trellis.device("postscript")
lset(canonical.theme("windows")) # or X11 on Linux ?
xyplot(...)
dev.off()
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
mailing list