[Rd] bounding box in PostScript

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Apr 17 23:01:34 CEST 2006


On Mon, 17 Apr 2006, David Allen wrote:

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

It's not really true.  The bounding box is of the figure region, and it is 
a design feature.  If the figure `region' that is too big for your 
purposes you need to adjust the margins.

Alternatively, there are lots of ways to set a tight bounding box: I tend 
to use the bbox device in gs.  But that often ends up with figures which 
do not align, depending on whether text has descenders.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list