[R] Re: printing from treillis.device

Deepayan Sarkar deepayan at stat.wisc.edu
Mon Jun 25 19:44:05 CEST 2001


Hi,

as Prof Ripley points out, standard R graphics concepts might not work
with grid/lattice. In particular, use of the par() function is not
guaranteed to give desired results. Another feature of Trellis (hence
lattice) graphics is that the paradigm of adding bits and pieces to an
existing plot don't work. 

For your particular example, it would be helpful to know what you are
attempting to do. Superimposing two plots (which is what it seems you are
trying to do) might be a bad idea. If you want to put more than one plot
on the same page, try print.trellis() with more=T, along with either
position= or split=. (See the help page for print.trellis for details and
examples.)

[Remember to start the postscript device by trellis.device() and not
postscript().]



On Mon, 25 Jun 2001, Didier Leibovici wrote:

> Hi,
> I was using xyplot 
> and find problems in printing (on a postscript file)
> when there was 
> a session
> like 
> xyplot(....)
> par(new=T)
> xyplot(....)
> 
> basically the result is the ps contain only he last
> xyplot!
> any obvious things to do?
> thanks
> Didier
> -- 
>   Didier G. Leibovici    didier at fmrib.ox.ac.uk    +44 (0)1865 222 739
> Image Analysis Group                          fax:+44 (0)1865 222 717
> Oxford University, Centre For Functional Magnetic Resonance Imaging of
> the Brain (FMRIB), John Radcliffe Hospital, Headington, Oxford OX3 9DU,
> U.K
> http://www.fmrib.ox.ac.uk/~didier/
> 




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