Download this file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
from matplotlib.matlab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) l = plot(t, s) xlabel('time (s)') ylabel('voltage (mV)') t = title('About as simple as it gets, folks') #grid(True) #set(gca(), 'xticks', (0,.2,.7)) #savefig('test2') show()