problem with the bounding box in eps files (savefig)

Hi,
doing a simple thing like:

plot([0,1],[0,1])
savefig('try.eps')

I get a stupid (large) bounding box:
%%BoundingBox: 0 0 765 1214

(with a "ps" file I get: %%BoundingBox: 0 0 918 1299 which is even worse)

==> to be right I should either get something of the order of : 230 805 720 1180
or have a very different positioning (and still a much smaller BB)

I probably have a bad setup somewhere but could not find it. How can I then obtain reasonable Bounding Boxes for my eps files (to be used in papers..)? (I looked at the archived emails but did not find help there)

Thanks!
Eric

···

--

Observatoire de Lyon emsellem@...419...
9 av. Charles-Andre tel: +33 4 78 86 83 84
69561 Saint-Genis Laval Cedex fax: +33 4 78 86 83 86
France http://www-obs.univ-lyon1.fr/eric.emsellem

I can't reproduce this here. Please post a complete script that sets any
non-standard rc settings.

Darren

···

On Friday 19 August 2005 6:37 am, Eric Emsellem wrote:

Hi,
doing a simple thing like:

plot([0,1],[0,1])
savefig('try.eps')

I get a stupid (large) bounding box:
%%BoundingBox: 0 0 765 1214

(with a "ps" file I get: %%BoundingBox: 0 0 918 1299 which is even worse)

==> to be right I should either get something of the order of : 230 805
720 1180
or have a very different positioning (and still a much smaller BB)

I probably have a bad setup somewhere but could not find it. How can I
then obtain reasonable Bounding Boxes for my eps files (to be used in
papers..)? (I looked at the archived emails but did not find help there)