Branches merged.
authorSantosh G. Vattam <vattam.santosh@gmail.com>
Wed, 18 Nov 2009 17:07:43 +0530
changeset 310 dc3631a29b18
parent 309 0b1f2c378d84 (diff)
parent 307 be62ebb11407 (current diff)
child 311 5303c34a3180
Branches merged.
--- a/day1/cheatsheet2.tex	Wed Nov 18 12:36:26 2009 +0530
+++ b/day1/cheatsheet2.tex	Wed Nov 18 17:07:43 2009 +0530
@@ -25,19 +25,7 @@
 \LARGE{Plotting Points}\\
 \large{FOSSEE}
 \end{center}
-\section{Plotting from Data files}
-\begin{verbatim}
-l = [] #Empty List
-t = []
-for line in open('pendulum.txt'): # Opening & Reading files
-    points = line.split() # Splitting a string
-    l.append(float(points[0])) # Appending to a list
-    t.append(float(points[1]))
-tsq = []
-for time in t:  #Iterating through lists
-    tsq.append(t*t)
-plot(l, tsq, '.') # Plotting points
-\end{verbatim}
+
 \section{Plotting Points with Lists}
 
 \begin{lstlisting}