From Martin Maechler <maechler@stat.math.ethz.ch>  Thu Nov 16 08:32:35 2000
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Thu, 16 Nov 2000 09:32:35 +0100
Subject: [Rd] Re: [S] How to make tiny postscript files
In-Reply-To: <3A12E8BB.C4CE6709@virginia.edu>
References: <3A12E8BB.C4CE6709@virginia.edu>
Message-ID: <14867.39843.10568.102988@gargle.gargle.HOWL>

>>>>> "Frank" == Frank E Harrell <fharrell@virginia.edu> writes:

    Frank> I am using S-Plus 6.0 Release 1 on Linux and want to make
    Frank> an encapsulated postscript graphics file of width 2 inches
    Frank> and height 0.5 inch.  When I use 

    Frank> postscript(filename, height=.5,width=2,hor=F)

    Frank> I get 

    Frank> GR-Z Error from Routine zzpltz
....

    Frank> I have also tried onefile=T, print.it=F, maximize=T but this does not
    Frank> seem to make a difference.  Has anyone had luck producing tiny
    Frank> postscript files who would share the commands they used?  Thanks.

The above works in R  __when__ you additionally say

  par(mex = .5) #or something like it,  par(mar =...),  par(mgp= ...)

in order to ensure that the outer margins do not reduce the plot region to
non-positive extents..

IMHO this is another example of basic design deficiciencies of S graphics
(including R and S-plus)...

Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Re: [S] How to make tiny postscript files
Martin Maechler