Michael Droettboom wrote:

> Are you setting text.usetex to True, or using matplotlib's built-in
> mathtext rendering?
> 
> Can you attach an image? I've seen enough of these failure cases that I
> can often guess by looking at it ;)
> 
> Mike
> 
> On 05/18/2011 09:21 AM, Neal Becker wrote:
>> Darren Dale wrote:
>>
>>> On Tue, May 17, 2011 at 2:05 PM, Neal
>>> Becker<ndbeck...@gmail.com>  wrote:
>>>> I have an old fedora 11 system.  When I try to use latex math (e.g.,
>>>> $\mu=2$), it gives no error, but seems to produce gibberish (just ordinary
>>>> ascii chars) in my pdf output.
>>>>
>>>> Any ideas how to debug?
>>> Try using raw strings. If that doesn't work, try submitting a short example.
>>>
>> submitting an example won't help.  The problem is with this installation.  My
>> question is, how can I try to debug it?
>>
>>

The simplest example is I made a legend that says:
plot (...label=r'esno=%s,$\mu$=%.2fms'%(esno,0.001*hist.mean()...

And \mu gets turned into an '=' sign

I am not setting text.usetex to True AFAIK (no .matplotlibrc).

I also note that there is no ~/.matplotlib/tex.cache on this machine.




------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to