Well, if you're using pdf, you could set the gray option there, e.g., pdf.options(colormodel="gray")
Or you could just use a gray theme. In ggplot2 use + theme_gray() Not sure in lattice, but I think it also has a themeing system. Best, Ista 2011/2/2 Sebastián Daza <sebastian.d...@gmail.com>: > Hi everyone, > Does anyone know how to get "black and white theme" (grey scale,, I would > say) graphs using lattice or ggplot2, as it is shown in this webpage: > http://lmdvr.r-forge.r-project.org/figures/figures.html? > > I am using Sweave, and I cannot get that color configuration. > I have added the following option: trellis.device(color=FALSE) but I got a > pdf file with color graphs. > > Thank in advance. > -- > Sebastián Daza > sebastian.d...@gmail.com > > ______________________________________________ > 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. > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org ______________________________________________ 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.