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 | |
---|---|
1 | from matplotlib.matlab import * |
2 | t = arange(0.0, 2.0, 0.01) |
3 | s = sin(2*pi*t) |
4 | plot(t,s) |
5 | title(r'$\alpha_i > \beta_i$', fontsize=20) |
6 | text(1, -0.6, r'$\sum_{i=0}^\infty x_i$', fontsize=20) |
7 | text(0.6, 0.6, r'$\cal{A}\rm{sin}(2 \omega t)$', |
8 | fontsize=20) |
9 | xlabel('time (s)') |
10 | ylabel('volts (mV)') |
11 | #savefig('mathtext_tut', dpi=50) |
12 | show() |
Note: See TracBrowser
for help on using the repository browser.