[R] how to print a colored plot in black/white?

From: Marius Hofert <m_hofert_at_web.de>
Date: Wed, 23 Jun 2010 19:14:37 +0200

Dear expeRts,

shouldn't this...

x <- 1:10
myplot <- xyplot(x~x,col="red")
trellis.device(postscript,color=FALSE,file="plot.ps") print(myplot)

... give a black/white plot?



R-help_at_r-project.org mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 23 Jun 2010 - 17:22:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jun 2010 - 17:40:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive