Revision: 4532 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4532&view=rev Author: mdboom Date: 2007年11月30日 11:48:41 -0800 (2007年11月30日) Log Message: ----------- Fix mathtext in example. Modified Paths: -------------- trunk/matplotlib/examples/text_themes.py Modified: trunk/matplotlib/examples/text_themes.py =================================================================== --- trunk/matplotlib/examples/text_themes.py 2007年11月30日 19:44:55 UTC (rev 4531) +++ trunk/matplotlib/examples/text_themes.py 2007年11月30日 19:48:41 UTC (rev 4532) @@ -17,7 +17,7 @@ plot(t1, f(t1), 'bo', t2, f(t2), 'k') title('Damped exponential decay', font, size='large', color='r') -text(2, 0.65, 'cos(2 pi t) exp(-t)', font, color='k', family='monospace' ) +text(2, 0.65, r'$\cos(2 \pi t) \exp(-t)$', color='k') xlabel('time (s)', font, style='italic') ylabel('voltage (mV)', font) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.