[R] SOLVED: multiple lattice-pages (development package!)...
Peter Malewski
p.malewski at tu-bs.de
Sat Jun 2 19:12:29 CEST 2001
Not seen at first reading, there is one arg in trellis.args:
page: a function of one argument (page number) to be called after
drawing each page.
so something like:
xx <- data.frame(x=rnorm(100),y=rnorm(100),g=as.factor(round(rnorm(100))))
tmp <- 1
xyplot(y~x|g,data=xx,layout=c(1,1),page=
function(...){
dev.print(postscript
,file=paste("/tmp/test",tmp,".ps",sep=""))
tmp <<- tmp + 1
}
)
One big thank to the people, who provide "lattice" + "grid"!
Peter
--
P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008
At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190,
P.Malewski at tu-bs.de, peter.malewski at gmx.de, malewski.peter at mh-hannover.de.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list