Re: [R] multiple lattice, xyplot & levelplot on same page - solved

2009-09-30 Thread Ky Mathews
1, 2), ylab = list(c("p2", "p1"), c(1/4, 3/4))) -Original Message- From: foolish.andr...@gmail.com [mailto:foolish.andr...@gmail.com] On Behalf Of Felix Andrews Sent: Sunday, 27 September 2009 9:00 PM To: Ky Mathews Cc: r-help@r-project.org Subject: Re: [R] multiple latt

Re: [R] multiple lattice, xyplot & levelplot on same page

2009-09-27 Thread Felix Andrews
Ky, The error you report is a problem with the c() method for trellis plots: it allows for a different panel function in each panel, but only one prepanel function. Because of this, the prepanel.default.levelplot function is not getting what it expects to recompute the panel dimensions. It may be

[R] multiple lattice, xyplot & levelplot on same page

2009-09-26 Thread Ky Mathews
Dear R-users, I'd like to place an xyplot() at the top of a page and a levelplot() at the bottom of the same page, and have the x-axes be the same. I've come close to finding a solution through Rarchive, and can produce an upside-down version of what I'd like (levelplot() on the top - see code