Problems with matplotlib

* Well, here is my real problem. I need to generate EPS files

    >> of my pictures for use with TeX (MiKTeX). I'm having a lot of
    >> trouble with it (this includes problems with the GS conversion
    >> tool, but that is beyond the scope of this list). Basically,
    >> using TkAgg or the savefig method, I can generate a PS file
    >> with the figure. But the problem is that the figure does not
    >> show well - it is bigger than the generated page, so a very
    >> significant part of the figure is cut out. Is there anyway to
    >> resize the picture or tell matplotlib to fit the picture within
    >> specified dimensions (like some and some centimeters or inches
    >> height and width)? Resizing the drawing window _did_ solve the
    >> problem, but then I can't generate the figures by scripting - I
    >> would have to manually resize everyone of them.

    > I'm not sure it's made clear anywhere, but you can generate
    > EPS by using the extension ".ep" or ".eps".

On earlier versions of matplotlib there was a figure sizing issue when
you saved from tkagg -> postscript or eps, but I thought this was
cleared up. Eg when I run examples/simple_plot.py with TkAgg backend
and then save test.eps, I don't see any figure size issues.

Are you using the latest version 0.53.1? If so can you post a test
script that reproduces the eps figure size problem you describe. In
the latter case I can probably fix it pronto.

JDH

Hello,

Thanks for all your help!

On earlier versions of matplotlib there was a figure sizing issue when
you saved from tkagg -> postscript or eps,

(...)

Are you using the latest version 0.53.1?

Yes, it was the version I downloaded and tried. I tried
the simple_plot.py running, and I got the exact picture
shown in the homepage (the quality of the image still
amazes me). The window is shown without any problems,
but with the figure saved in a file, it results in a
figure bigger than the page, so the result is clipped.

I have the EPS generated, I can send them directly to
you or to the list, if you want to look at them.

···

---
Jos� Alexandre Nalon
nalon@...166...