Re: R-beta: Plot and scale

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Fri, 20 Mar 1998 07:59:00 +1200 (NZST)


Date: Fri, 20 Mar 1998 07:59:00 +1200 (NZST)
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
Message-Id: <199803191959.HAA00945@stat1.stat.auckland.ac.nz>
To: p.dalgaard@biostat.ku.dk, wsimpson@uwinnipeg.ca
Subject: Re: R-beta: Plot and scale

> Subject: Re: R-beta: Plot and scale
> From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
> Date: 19 Mar 1998 18:10:24 +0100
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
>
> Bill Simpson <wsimpson@uwinnipeg.ca> writes:
>
> > postscript(...,width=..., height=...) command.  I personally think it is a
> > design error in S-Plus/R for postscript() to modify the appearance of the
> > plot compared to how it looks in the Graphics window.
>
> Mmm....no. Not unless you want all devices to give identical output.
> Different devices have different characteristics, media sizes, physical
> fonts, etc. postscript() and x11() are just two different device
> drivers. 
>
> However, having dev.print/print.plot departing (much) from what you
> see on the screen *is* probably a bug (although that obviously assumes
> that the hardcopy device is PostScript).


I have added a new "par" (I hate myself whenever I do that ...) called
"din" which will get the size of the current device.  Given this, it
will be possible to  print the current plot the same size, or at least
with the same aspect ratio as the current one.

This will require some tweaking of the postscript driver to do automatic
shrinking and rotation of plots.  Its not too far away now.

	Ross
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._