Re: [Matplotlib-users] latex labels on saved plots

2007-09-25 Thread Ryan Krauss
usetex=true IS supported for eps. I use epstopdf to get pdf's from there. Ryan On 9/21/07, Jordan Atlas <[EMAIL PROTECTED]> wrote: > > >Do you have ghostscript installed? If you set verbose.level to debug or > >debug-annoying, what do you get? > > > > > > > > I realized that the ghostscript path

Re: [Matplotlib-users] latex labels on saved plots

2007-09-21 Thread Michael Droettboom
Jordan Atlas wrote: > Ok, so am I to understand that usetex=True is not supported for PDF/EPS > output? In 0.90.1, it is not supported in PDF. > Can you explain what the "Tex-like mathtext format parsed by > matplotlib" is? matplotlib also has a built-in math formatting engine that does not u

Re: [Matplotlib-users] latex labels on saved plots

2007-09-21 Thread Jordan Atlas
>Do you have ghostscript installed? If you set verbose.level to debug or >debug-annoying, what do you get? > > > I realized that the ghostscript path wasn't set up properly, so that was what was causing part of the problem with EPS files. It works sometimes now (sometimes the EPS is just a b

Re: [Matplotlib-users] latex labels on saved plots

2007-09-20 Thread Jouni K . Seppänen
Jordan Atlas <[EMAIL PROTECTED]> writes: > Now, when I try to save a PDF (with the newer version of matplotlib), I > get the error: [...] > File "C:\Python24\Lib\site-packages\matplotlib\backend_bases.py", line > 383, in draw_tex > raise NotImplementedError > NotImplementedError That mea

Re: [Matplotlib-users] latex labels on saved plots

2007-09-20 Thread Jordan Atlas
Jouni, >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.

Re: [Matplotlib-users] latex labels on saved plots

2007-09-20 Thread Jouni K . Seppänen
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 b

[Matplotlib-users] latex labels on saved plots

2007-09-20 Thread Jordan Atlas
Hello, I'm having trouble saving eps or pdf versions of plots that have TeX labels using matplotlib. When I try to save an EPS file, I get the message: ... RuntimeError: ghostscript was not able to process your image. Here is the full report generated by ghostscript: (Author's note: No 're