[R] Error in multiple xyplots

Deepayan Sarkar deepayan at stat.wisc.edu
Mon Feb 23 17:17:58 CET 2004


On Monday 23 February 2004 09:57, Rodrigo Abt wrote:
> Dear R-listers,
>
> I got an error when I try to plot two grouped data into a single
> win.metafile device:
>
> library(lattice)
> trellis.device(device="win.metafile",color=F,filename="Profiles-Var1.wmf
>") par(mfrow=c(1,2))

par() settings have (mostly) no effect in lattice plots. In particular, 
mfrow is ignored. Read help(print.trellis) and run example(print.trellis) 
to learn how to do what you want to do.

Deepayan




More information about the R-help mailing list