[R] lattice: postscript with colors

Deepayan Sarkar deepayansarkar at yahoo.com
Fri Sep 13 21:31:02 CEST 2002


--- Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
> 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 ?

Alternately,
lset(col.whitebg())

>  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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

__________________________________________________

Yahoo! News - Today's headlines

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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