Skip to content
Back to formatted view

Raw Message

Message-ID: <20010602191228.A26115@gmx.de>
Date: 2001-06-02T17:12:29Z
From: Peter Malewski
Subject: SOLVED: multiple lattice-pages (development package!)...
In-Reply-To: <20010601152140.B20826@rzpool08.rz.tu-bs.de>; from peter.malewski@gmx.de on Fri, Jun 01, 2001 at 03:21:41PM +0200

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._