Revision: 4532
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4532&view=rev
Author:   mdboom
Date:     2007-11-30 11:48:41 -0800 (Fri, 30 Nov 2007)

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.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to