Hi all,
I've got some problems when changing the trellis settings for the lattice
plots. The plots look exactly as I want them to when calling show.settings() as
well as when plotting them in the graphical window. But when printing to a pdf
file, none of the settings are used!? Does anyone
Did you make the changes before or after starting the device:
library(lattice)
## before doesn't change the settings on the device:
trellis.par.set(plot.symbol = list(col = red))
trellis.device(pdf, file = tmp.pdf)
xyplot(1 ~ 1)
dev.off()
## after does
trellis.device(pdf, file = tmp.pdf)
2 matches
Mail list logo