From: Ssebuliba, J, M. <jo...@su...> - 2008-03-04 09:18:15
|
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 "\mathr", unrecognized symbol "\mathcal" When I replace \mathrm with \mbox or \text, the error message I get is basically the same, only that this time, the last line appears as; unrecognized symbol "\mbox", unrecognized symbol "\text" How should I fix this problem? Many thanks, JOE. |