cbarbu / R-package-zoom

An R package to zoom in and out and more generally navigate a plot or a group of plots in R.
GNU Lesser General Public License v3.0
5 stars 1 forks source link

navigation in lattice plot #2

Open cbarbu opened 11 years ago

cbarbu commented 11 years ago

Problem as the drawGrob function is not accessible: Error in do.call(fn, alst) : could not find function "drawGrob"

Additionally the resetting of xlim/ylim are likely messed up.

We would want the basic example to work:

require(stats) Depth <- equal.count(quakes$depth, number=8, overlap=.1) xyplot(lat ~ long | Depth, data = quakes) update(trellis.last.object(), strip = strip.custom(strip.names = TRUE, strip.levels = TRUE), par.strip.text = list(cex = 0.75), aspect = "iso") zm()

I'm not going to do that any time soon but if you are interested please do and then make a pull request!