[R]printing from treillis.device

Peter Malewski malewski.peter at mh-hannover.de
Mon Jun 25 19:19:00 CEST 2001


On Mon, Jun 25, 2001 at 04:53:17PM +0100, Didier Leibovici wrote:
> Hi,
> I was using xyplot 
> and had problems in printing (on a postscript file)
> when there was 
> a session
> like 
> xyplot(....)
> par(new=T)
> xyplot(....)
> 
> after a print the result is that the ps contains only he last
> xyplot!
> any obvious things to do?
> thanks
> Didier

According to Prof.Ripley it isn't a good idea to copy a trellis.device
to another device (eg printer). See the posting at the r-help
archive.

If you really want that you can

xyplot(...,page=function(i)dev.print(...,file=paste("/tmp/tmp",i,".ps",sep="")))

see ?trellis.args.

btw: Lattice is under development.

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