|
From: Michael D. <md...@st...> - 2010-06-11 12:50:47
|
Can you set the rcParam 'verbose.level' to 'debug-annoying' and send us
the output?
What version of matplotlib? Which backend?
Mike
On 06/10/2010 04:03 PM, Jeff Perry wrote:
> 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()
>
>
>
> ------------------------------------------------------------------------------
> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Space Telescope Science Institute
Baltimore, Maryland, USA
|