|
From: Neal B. <ndb...@gm...> - 2013-10-18 12:45:14
|
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
|