[R] producing colour .eps output
RICHARD PITMAN
richard.pitman3 at btopenworld.com
Sat Oct 11 18:01:15 CEST 2008
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",
main="Exposure group 1, time since entry 0")
The resulting figure is in black and white and I can not seem to find a way to get colour output.
Any pointers gratefully received.
TIA
Richard
More information about the R-help
mailing list