Hi, I'd like to arrange two wireframe plots (library "lattice") next to each other using the grid.arrange function of the library "gridExtra". However the two wireframe plots should be closer to each other and the outer 2D box should be removed (to save space). To remove the outer box for a single plot I am using trellis.par.set("axis.line",list(col=NA,lty=1,lwd=1)) However this approach does not work in combination with grid.arrange().
Here a small working example: trellis.par.set("axis.line",list(col=NA,lty=1,lwd=1)) p1 <- wireframe(volcano, shade = TRUE, aspect = c(61/87, 0.4), light.source = c(10,0,10)) grid.arrange(p1,p1,nrow=1) Does anybody have any suggestions? /johannes [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.