Re: R-beta: Plot and scale

Ross Ihaka (
Fri, 20 Mar 1998 07:59:00 +1200 (NZST)

Date: Fri, 20 Mar 1998 07:59:00 +1200 (NZST)
From: Ross Ihaka <>
Message-Id: <>
Subject: Re: R-beta: Plot and scale

> Subject: Re: R-beta: Plot and scale
> From: Peter Dalgaard BSA <>
> Date: 19 Mar 1998 18:10:24 +0100
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Bill Simpson <> 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.
> 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.

r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: