Jordan Atlas <[EMAIL PROTECTED]> writes: > I'm having trouble saving eps or pdf versions of plots that have > TeX labels using matplotlib.
Which version of matplotlib are you using? The error message you quote for the pdf backend shows a line 1085 in get_canvas_width_height, which is impossible both in the latest released version 0.90.1 and in current svn. I vaguely remember there being a bug like that quite some time ago. In any case, no released version of matplotlib supports using TeX with the pdf backend. Do you mean the (TeX-like) mathtext format parsed by matplotlib? In current svn there is some support for TeX with the pdf backend, but it has not (AFAIK) been tested on Windows. > I saw an older thread > (http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg03953.html > > ) that seems to address similar issues, but I don't understand the > solution (using XPDF distiller). Gmane mangles the URL (to protect email addresses) so I can't read the message you cite, but using the XPDF distiller means setting ps.usedistiller to xpdf in your matplotlibrc file. You will need to have ps2pdf (from ghostscript) and pdftops (from xpdf or poppler) installed. -- Jouni K. Seppänen http://www.iki.fi/jks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users