source:
tools/demos/matplotdemo.py
@
39
Last change on this file since 39 was 39, checked in by ole, 20 years ago | |
---|---|
File size: 344 bytes |
Rev | Line | |
---|---|---|
[39] | 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.