[R] xyplot with several pages

Eric ESPOSITO eric.esposito at gazdefrance.com
Mon May 26 16:40:20 CEST 2003

I'm sorry to ask such a stupid question, but I didn't find how to plot each
page with the function xyplot on a separate graphic device in order to have
all the pages opened after calling the function.
When doing:
> data(quakes)
> Depth <- equal.count(quakes$depth, number=8, overlap=.1)
> xyplot(lat ~ long | Depth, data = quakes, layout=c(2,2))
2 pages are drawn but the second page overwrites the first one, does
anybody know how to plot the graphs on 2 separate devices?

Eric Esposito

More information about the R-help mailing list