Re: [R] producing colour .eps output

2008-10-12 Thread David Winsemius
On Oct 11, 2008, at 1:04 PM, Prof Brian Ripley wrote: I don't see anywhere you asked for colour, and postscript() is regarded as a 'print device' so the default is monochrome. See ?trellis.device and the discussion of themes there: AFAICS you want to set a colour theme. I was at what see

Re: [R] producing colour .eps output

2008-10-11 Thread Prof Brian Ripley
I don't see anywhere you asked for colour, and postscript() is regarded as a 'print device' so the default is monochrome. See ?trellis.device and the discussion of themes there: AFAICS you want to set a colour theme. On Sat, 11 Oct 2008, RICHARD PITMAN wrote: I am using the following code t

[R] producing colour .eps output

2008-10-11 Thread RICHARD PITMAN
I am using the following code to produce a graphic: library(lattice) postscript("figs%03d.eps", width = 6.0, height = 6.0,    horizontal = FALSE, onefile = FALSE, paper = "special") xyplot(cases~yr|agrp*sex,data=data[tse==0 & expgrp==1,], groups=source, pch=".", type="l",    mai