Menu

[r513]: / trunk / htdocs / examples / test.py  Maximize  Restore  History

Download this file

16 lines (11 with data), 245 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/env python
"""
An example of how to interact with the plotting canvas by connecting
to move and click events
"""
from matplotlib.matlab import *
t = arange(0.1, 9.0, 0.01)
s = sin(2*pi*t)
ax = subplot(111)
ax.semilogx(t,s)
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.