using python modules/sine.py
changeset 261 c7f0069d698a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/using python modules/sine.py	Sat Oct 09 03:56:06 2010 +0530
@@ -0,0 +1,11 @@
+from scipy import linspace, pi, sin
+from pylab import plot, legend, show, title
+from pylab import xlabel, ylabel
+
+x = linspace(-2*pi,2*pi,100)
+plot(x,sin(x))
+legend(['sin(x)'])
+title('Sine plot')
+xlabel('x')
+ylabel('sin(x)')
+show()