Show simple_plot.py syntax highlighted
import matplotlib
matplotlib.use('Template')
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s)
xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
savefig('simple_plot')
show()
See more files for this project here