Menu

[r8989]: / trunk / htdocs / tut / mathtext_tut.py  Maximize  Restore  History

Download this file

12 lines (11 with data), 305 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t,s)
title(r'$\alpha_i > \beta_i$', fontsize=20)
text(1, -0.6, r'$\sum_{i=0}^\infty x_i$', fontsize=20)
text(0.6, 0.6, r'$\cal{A}\rm{sin}(2 \omega t)$', fontsize=20)
xlabel('time (s)')
ylabel('volts (mV)')
savefig('mathtext_tut')
show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.