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

Marius Hofert m_hofert at web.de
Wed Jun 23 19:14:37 CEST 2010


Dear expeRts,

shouldn't this...

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

... give a black/white plot?

Cheers,

Marius



More information about the R-help mailing list