When I run the following, I get gibberish for the math symbols: ),?," instead of alph's, beta's, ..., etc.
I believe I have all the correct fonts installed: stix, computer
modern. I have tex and latex installed.
Any suggestions? I am running FC12.
Thanks,
Jeff
1 import numpy as np
2 import matplotlib.pyplot as plt
3 t = np.arange(0.0, 2.0, 0.01)
4 s = np.sin(2*np.pi*t)
5
6 plt.plot(t,s)
7 plt.title(r'$\alpha_i > \beta_i$', fontsize=20)
8 plt.text(1, -0.6, r'$\sum_{i=0}^\infty x_i$', fontsize=20)
9 plt.text(0.6, 0.6, r'$\mathcal{A}\mathrm{sin}(2 \omega t)$',
10 fontsize=20)
11 plt.xlabel('time (s)')
12 plt.ylabel('volts (mV)')
13 plt.show()
<<attachment: image.png>>
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Matplotlib-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/matplotlib-users
