Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Paul Murrell
Hi This might work, though it's a teensy bit more complicated and a bit manual (on the left axis labels) and it ignores heights and vertical whitespace ... library(lattice) d <- dim(volcano) xy <- data.frame(x = 1:d[1], y = volcano[,30] ) library(grid) grid.newpage() pushViewport(viewport(y=0

Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Ben Tupper
Hi, Almost but not quite. It certainly moves the ball down the field, and, dang, that would be way too easy! I have been fiddling with the panel.widths to the lattice::plot method. No joy yet. Ben > On Oct 25, 2016, at 5:14 PM, Paul Murrell wrote: > > Hi > > Does this do what you wan

Re: [R] [FORGED] Re: lattice: control panel extent on device

2016-10-25 Thread Paul Murrell
Hi Does this do what you want ? library(latticeExtra) c(vol_p, xy_p, x.same=TRUE) Paul On 26/10/16 04:30, Ben Tupper wrote: Thanks, Bert. I have used latticeExtra for layering graphics. I'm not sure how I would use it to align graphics rather superimposing them. I shall look into the the c