source: tools/demos/matplotdemo.py @ 39

Last change on this file since 39 was 39, checked in by ole, 20 years ago

Matplot demos

File size: 344 bytes
RevLine 
[39]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.