[R] How to turn the colour off for lattice graph?

2010-11-13 Thread Shige Song
Dear All, I am trying to plot a lattice figure and include it in a LaTeX document via the TikZDevice package. I think the journal I am submitting to does not like colour figure, so I need to get rid of all the colours in the figure. If I directly generate PDF or EPS, the option

Re: [R] How to turn the colour off for lattice graph?

2010-11-13 Thread David Winsemius
On Nov 13, 2010, at 10:07 AM, Shige Song wrote: Dear All, I am trying to plot a lattice figure and include it in a LaTeX document via the TikZDevice package. I think the journal I am submitting to does not like colour figure, so I need to get rid of all the colours in the figure. If I

Re: [R] How to turn the colour off for lattice graph?

2010-11-13 Thread Shige Song
With the following code: --- ltheme - canonical.theme(color = FALSE) ## in-built BW theme ltheme$strip.background$col - transparent ## change strip bg lattice.options(default.theme = ltheme) ## set as default --- I was able to get a nice-looking bw figure from the

Re: [R] How to turn the colour off for lattice graph?

2010-11-13 Thread David Winsemius
On Nov 13, 2010, at 3:16 PM, Shige Song wrote: With the following code: --- ltheme - canonical.theme(color = FALSE) ## in-built BW theme ltheme$strip.background$col - transparent ## change strip bg lattice.options(default.theme = ltheme) ## set as default --- I