bounding box with gs 8.14 and usetex

First, thanks to Darren and John and anyone else who helped with the
usetex functionality. I am really impressed.

I searched the list for bounding box and saw that there are a lot of
posts on this subject. But didn't see anything the specifically deals
with my problem.

I am using:
ryan@...859...:~/datafit/closed_loop_modeling_report/figs$ gs -v
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.

The bounding box goes tightly around the figure but does not include
the labels. Is there a way to add a pad around the figure or some
other way to solve this problem?

Thanks,

Ryan

I haven't seen this problem before, would you post a minimal example?

Darren

···

On Tuesday 25 October 2005 11:46 pm, Ryan Krauss wrote:

ryan@...859...:~/datafit/closed_loop_modeling_report/figs$ gs -v
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.

The bounding box goes tightly around the figure but does not include
the labels. Is there a way to add a pad around the figure or some
other way to solve this problem?

Darren,

Thanks for your willingness to help. A small script is attached and
the figure it produces is attached as well. When I view the eps with
gv and set it to show the bounding box, it clips tightly around the
figure without the axis labels or tick marks. I ran the figure
through epstopdf and it uses the same bounding box produces the same
figure minus axis and tick mark labels.

I don't think I have anything funny in my matplotlibrc file, but it is
attached just in case. (It includes a recent patch I made to make the
legend customizable from the RC file, so you may need to comment that
out if you actually try to use my RC file.)

Let me know if you want me to try anything else. 8.14 is the latest
version released through the ubuntu package manager.

Ryan

boundingbox.py (142 Bytes)

test.eps (40.8 KB)

test.pdf (1.31 KB)

matplotlibrc (11.1 KB)

···

On 10/26/05, Darren Dale <dd55@...163...> wrote:

On Tuesday 25 October 2005 11:46 pm, Ryan Krauss wrote:
> ryan@...859...:~/datafit/closed_loop_modeling_report/figs$ gs -v
> AFPL Ghostscript 8.14 (2004-02-20)
> Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
>
> The bounding box goes tightly around the figure but does not include
> the labels. Is there a way to add a pad around the figure or some
> other way to solve this problem?

I haven't seen this problem before, would you post a minimal example?

Darren

-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users