Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

simple_plot.py

from pylab import *

t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s, linewidth=1.0)

xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
show()

Generated by  Doxygen 1.6.0   Back to index