This is really puzzling.  What version of matplotlib are you running, 
what platform, and what version of Python?  Your example works just fine 
for me.

Mike

On 10/18/2013 08:40 AM, Neal Becker wrote:
> Neal Becker wrote:
>
>> This example shows the error on my platform - the xlabel is not rendered with
>> tex but instead the '$' are printed:
>>
>> import numpy as np
>> import matplotlib.pyplot as plt
>> plt.xkcd()
>>
>> fig = fig = plt.figure()
>> ax = fig.add_subplot(111)
>> plt.plot (np.arange (10), 2*np.arange(10))
>> ax.set_xlabel ('$E_{s}/N_{0}$')
>> plt.show()
>>
>>
> And without plt.xkcd() the tex is rendered correctly
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-- 
                    _
|\/|o _|_  _. _ | | \.__  __|__|_|_  _  _ ._ _
|  ||(_| |(_|(/_| |_/|(_)(/_|_ |_|_)(_)(_)| | |

http://www.droettboom.com


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to