Displaying 1 result from an estimated 1 matches for "isnewpag".
Did you mean:
isnewpage
2009 May 14
1
Problem with viewports, print.trellis and more/newpage
...my viewports, and the more/newpage arguments.
The following script is a simplification but hopefully will suffice to
illustrate my problem. Any suggestion from the list would be greatly
appreciated.
Sebastien
#########
library(lattice)
foo <- data.frame(x=1:10,y=1:10)
for (i in 1:4) {
#isnewpage <- FALSE
plots <- xyplot(y~x,data=foo)
pushViewport(viewport(x=0,
y=0,
width=1,
height=0.95,
just=c(0,0)))
print(plots, split=c(1,1,2,4), more=T)#, newpage=isnewpage)
print(plots,...