[R] Two wireframe plots (lattice) aside (grid.arrange) without outer box
johannesradinger at gmail.com
Tue Dec 2 13:57:52 CET 2014
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
However this approach does not work in combination with grid.arrange().
Here a small working example:
p1 <- wireframe(volcano, shade = TRUE,
aspect = c(61/87, 0.4),
light.source = c(10,0,10))
Does anybody have any suggestions?
[[alternative HTML version deleted]]
More information about the R-help