Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-17 Thread Diaboflo
Hi all, I got my administrator to update the python modules (matplotlib, scipy, numpy) and now it works fine. Seems to be an already fixed bug. Thanks to all for your help! Flo -- View this message in context: http://www.nabble.com/Latex-characters-don%27t-show-when-I-save-to-eps-tp25433829p2548

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Michael Droettboom
Hmm... 0.91.2 works for me. What platform are you on? When you view the attached file, do you see the "phi" in the title area? That can rule out a problem in your viewer. If that works for you, can you send me the .eps file you generated? Mike Diaboflo wrote: Michael Droettboom-3 wrote:

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Michael Droettboom-3 wrote: > > Can you send the output of > > >>> import matplotlib > >>> matplotlib.__version__ > > It's possible this is a bug that has already been fixed in the > development version, but I'd like to confirm that by running the same > version that you have. > > Mike >

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Michael Droettboom
Can you send the output of >>> import matplotlib >>> matplotlib.__version__ It's possible this is a bug that has already been fixed in the development version, but I'd like to confirm that by running the same version that you have. Mike Diaboflo wrote: > The simplest case would be: > > impo

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Hi, no, this gives the same result: Fine with $\Delta$ but not with $\phi$ :( Flo Darren Dale-3 wrote: > > Does this help: > pylab.xlabel(r"$\phi$") > > -- View this message in context: http://www.nabble.com/Latex-characters-don%27t-show-when-I-save-to-eps-tp25433829p25475329.html Sent fro

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Darren Dale
On Wed, Sep 16, 2009 at 11:13 AM, Diaboflo wrote: > > The simplest case would be: > > import pylab > pylab.plot([1,2]) > pylab.xlabel("$\phi$") Does this help: pylab.xlabel(r"$\phi$") > pylab.savefig("fig.png") > pylab.savefig("fig.eps") > > The png has the xlabel as phi, the xlabel in the eps f

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
The simplest case would be: import pylab pylab.plot([1,2]) pylab.xlabel("$\phi$") pylab.savefig("fig.png") pylab.savefig("fig.eps") The png has the xlabel as phi, the xlabel in the eps file is just empty. I use python 2.5, don't really know which version of matplotlib is installed but it is not

Re: [Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Michael Droettboom
I can't reproduce this here, but your settings may be different than mine. What rcParams have you specified in your matplotlibrc (in particular, is usetex on or off)? What version of matplotlib? Mike Diaboflo wrote: > Hi, > I have a strange problem with matplotlib: I use the greek character p

[Matplotlib-users] Latex characters don't show when I save to eps

2009-09-16 Thread Diaboflo
Hi, I have a strange problem with matplotlib: I use the greek character phi as a label ($\phi$). When I display the diagram everything looks fine, only when I save to an eps file, the phi dissappears (emplty space instead). Some other characters (\mu, \Delta) don't have this problem. Does anyone h