Updated session 2 slides and added 4 graphs to data directory.
Binary file day1/data/L-TSq-limited.png has changed
Binary file day1/data/stline_dots.png has changed
Binary file day1/data/stline_points.png has changed
Binary file day1/data/straightline.png has changed
--- a/day1/session2.tex Tue Oct 27 17:11:52 2009 +0530
+++ b/day1/session2.tex Tue Oct 27 17:49:45 2009 +0530
@@ -207,6 +207,13 @@
\end{frame}
\begin{frame}[fragile]
+\begin{figure}
+\includegraphics[width=2in]{data/stline_dots.png}
+\includegraphics[width=2in]{data/stline_points.png}
+\end{figure}
+\end{frame}
+
+\begin{frame}[fragile]
\frametitle{Additional Plotting Attributes}
\begin{itemize}
\item \kwrd{'o'} - Dots
@@ -328,6 +335,12 @@
\end{frame}
\begin{frame}[fragile]
+\begin{figure}
+\includegraphics[width=3.5in]{data/L-TSq-limited.png}
+\end{figure}
+\end{frame}
+
+\begin{frame}[fragile]
\frametitle{More of \texttt{for}}
\begin{itemize}
\item Used to iterate over lists
@@ -348,11 +361,11 @@
\end{frame}
\begin{frame}[fragile]
-\frametitle{Whats unusual about the previous example??}
+\frametitle{What about larger data sets??}
\alert{Data is usually present in a file!} \\
Lets look at the pendulum.txt file.
\begin{lstlisting}
-cat data/pendulum.txt
+$cat data/pendulum.txt
1.0000e-01 6.9004e-01
1.1000e-01 6.9497e-01
1.2000e-01 7.4252e-01
@@ -403,6 +416,12 @@
\end{frame}
\begin{frame}[fragile]
+\begin{figure}
+\includegraphics[width=3.5in]{data/L-Tsq.png}
+\end{figure}
+\end{frame}
+
+\begin{frame}[fragile]
\frametitle{Reading files \ldots}
\typ{In []: for line in open('pendulum.txt'):}
\begin{itemize}
@@ -456,14 +475,6 @@
\end{lstlisting}
\end{frame}
-\begin{frame}[fragile]
-\begin{figure}
-\includegraphics[width=3.5in]{data/L-Tsq.png}
-\end{figure}
-\vspace{-0.2in}
-Coming up - \alert{Least Square Fit \ldots}
-\end{frame}
-
\section {Summary}
\begin{frame}
\frametitle{Summary}