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.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to