Re: [R] grey scale graphs

2011-02-02 Thread David Winsemius
On Feb 2, 2011, at 10:26 AM, Sebastián Daza wrote: 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

Re: [R] grey scale graphs

2011-02-02 Thread Ista Zahn
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 : > Hi everyone, > Does anyo

[R] grey scale graphs

2011-02-02 Thread Sebastián Daza
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 f