Dear Marius, >From the documentation (see ?trellis.device):
"Note that this only applies to the initial choice of colors, which can be overridden using 'theme' or subsequent calls to 'trellis.par.set' (and by _arguments supplied directly in high level calls for some settings_)." [emphasis added] xyplot() is a high level function; so my guess is that it overrides the colour set in trellis.device(). HTH, Josh On Wed, Jun 23, 2010 at 10:14 AM, Marius Hofert <m_hof...@web.de> wrote: > 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 > > ______________________________________________ > R-help@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. > -- Joshua Wiley Ph.D. Student Health Psychology University of California, Los Angeles ______________________________________________ R-help@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.