source: misc/tools/demos/matplotdemo.py @ 6303

Last change on this file since 6303 was 40, checked in by ole, 20 years ago
File size: 332 bytes
Line 
1from matplotlib.matlab import *
2t = arange(0.0, 2.0, 0.01)
3s = sin(2*pi*t)
4plot(t,s)
5title(r'$\alpha_i > \beta_i$', fontsize=20)
6text(1, -0.6, r'$\sum_{i=0}^\infty x_i$', fontsize=20)
7text(0.6, 0.6, r'$\cal{A}\rm{sin}(2 \omega t)$', 
8     fontsize=20)
9xlabel('time (s)')
10ylabel('volts (mV)')
11#savefig('mathtext_tut', dpi=50)
12show()
Note: See TracBrowser for help on using the repository browser.