R-beta: Plot and scale

Ross Ihaka ihaka at stat.auckland.ac.nz
Thu Mar 19 20:59:00 CET 1998


> Subject: Re: R-beta: Plot and scale
> From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
> Date: 19 Mar 1998 18:10:24 +0100
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
>
> Bill Simpson <wsimpson at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list