From berwin at maths.uwa.edu.au  Tue Apr 18 03:04:25 2006
From: berwin at maths.uwa.edu.au (Berwin A Turlach)
Date: Tue, 18 Apr 2006 09:04:25 +0800
Subject: [Rd] bounding box in PostScript
In-Reply-To: <5.2.0.9.2.20060417154018.01232ec0@pop.ms.uky.edu>
References: <5.2.0.9.2.20060417154018.01232ec0@pop.ms.uky.edu>
Message-ID: <17476.15129.276232.549991@bossiaea.maths.uwa.edu.au>

G'day David,

>>>>> "DA" == David Allen <allen at ms.uky.edu> writes:

    DA> When a graph is saved as PostScript, the bounding box is often
    DA> too big.  A consequence is that when the graph is included in
    DA> a LaTeX document, the spacing does not look good.  Is this a
    DA> recognized problem? Is someone working on it? Could I help?
How exactly are you saving the graph as PostScript?

I guess the problem is due to the fact that you save the PostScript
picture on a paper according to your default paper size (which is "a4"
for me).  To create PostScript pictures with reasonalbe tight bounding
boxes that are suitable to be included in a LaTeX document you should
specify `paper=special' and then define your plotting area via the
'height' and 'width' argument.

Hope this helps.

Cheers,

        Berwin

========================== Full address ============================
Berwin A Turlach                      Tel.: +61 (8) 6488 3338 (secr)   
School of Mathematics and Statistics        +61 (8) 6488 3383 (self)      
The University of Western Australia   FAX : +61 (8) 6488 1028
35 Stirling Highway                   
Crawley WA 6009                e-mail: berwin at maths.uwa.edu.au
Australia                        http://www.maths.uwa.edu.au/~berwin



[Rd] bounding box in PostScript
Berwin A Turlach