# L-15 MCS 507 Mon 26 Sep 2011 : pylabsinplot.py

# Run this script as python2.6 pylabsinplot.py
# and a plot of the sin(x) over [0,2*pi] will show
# if mathplotlib is installed properly.

from pylab import *
x = arange(0,2*pi,0.01)
y = sin(x)
plot(x,y)
axis([0,2*pi,-2,2])
show()
