Re: [Matplotlib-users] Using math text!

2008-03-04 Thread Michael Droettboom
It looks as if you're using 0.90.1. All of these issues are fixed in 0.91.2. If you can upgrade, that's probably your best bet. Or, if you have all the requirements, you can set "text.usetex" to True in your matplotlibrc which will use the "real" TeX on your system to typeset math -- that sho

[Matplotlib-users] Using math text!

2008-03-04 Thread Ssebuliba, J, Mnr <[EMAIL PROTECTED]>
Hi all, When I use; text(0.6, 0.6, r'$\mathcal{A}\mathrm{sin}(2 \omega t)$', fontsize=20) I get an error message below; File "/usr/lib/python2.5/site-packages/matplotlib/mathtext.py", line 616, in _get_info raise ValueError('unrecognized symbol "%s"' % sym) ValueError: unrecognized symbol "\