At first, create the layout: push.viewport(viewport(layout=grid.layout(1, 2)))
Then for the left panel: push.viewport(viewport(layout.pos.col=1,layout.pos.row=1)) push.viewport(viewport(width=0.6, height=0.6)) levelplot(z~x*y, grid) pop.viewport()
Similar code for the right panel.
However, there is always error message for "pop.viewport()" as "Error in pop.vp(i == n, recording) : Illegal to pop top-level viewport". If I omit "pop.viewport()", the two levelplots were printed on seperate pages without a layout of (1,2).
Any suggestion is greatly appreciated.
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html