xyplot trellis multiple pages in same image

411 Views Asked by At

I want to make an xyplot with a large number of groups (on the order of 100). If I use the default setup it makes so many graphs on one page that I can't interpret what's going on. But if I naively change the layout it flips through too many plots at once. As in

trellis.device(device="png", filename="glm.png")
p = xyplot(value + hat ~ Time | variable, data=result, type='l', superpose=T, auto.key=T,      layout=c(5, 1))
print(p)
dev.off()

What's the best way to have fewer plots per page and still have everything in one image. Either with a scroll bar or a really long image?

0

There are 0 best solutions below