Hi,

I just found the problem: I pass the legend labels via the command line. 
There, of course $M$ is interpreted as a shell variable. Escaping all $ and \ 
it works now.

Thanks,
wr

Am Montag, 4. Mai 2009 17:54:19 schrieb Matthias Michler:
> Hello,
>
> could you please provide a stand-alone example of what is failing and what
> version/ backend you are using?
>
> for me the following works (with mpl-0.98.6svn and backend 'GTKAgg'):
>
> text(0.25, 0.75, r"$M_\theta$")
>
> regards Matthias
>
> PS: You can access the used backend and the matplotlib version via:
> print matplotlib.get_backend()
> print matplotlib.__version__
>
> On Monday 04 May 2009 17:20:51 Willi Richert wrote:
> > Hi,
> >
> > why is $\sum M_\theta$ rendered correctly, but $M_\theta$" is printed as
> > "_\theta$"?
> >
> > Regards,
> > wr
>
> ---------------------------------------------------------------------------
>--- Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to