Added loadtxt section to Day1 Session5.
--- a/day1/session5.tex Thu Oct 29 00:17:49 2009 +0530
+++ b/day1/session5.tex Thu Oct 29 00:39:33 2009 +0530
@@ -118,14 +118,33 @@
\titlepage
\end{frame}
-\begin{frame}
- \frametitle{Outline}
- \tableofcontents
-% \pausesections
+%% \begin{frame}
+%% \frametitle{Outline}
+%% \tableofcontents
+%% % \pausesections
+%% \end{frame}
+
+
+\section{\typ{loadtxt}}
+
+\begin{frame}[fragile]
+ \frametitle{\typ{loadtxt}}
+ \begin{itemize}
+ \item Load data from a text file.
+ \item Each row must have same number of values.
+ \end{itemize}
+\begin{lstlisting}
+In []: data = loadtxt('pendulum.txt')
+In []: L = data[:,0]
+In []: T = data[:,1]
+\end{lstlisting}
\end{frame}
+%% \begin{frame}[fragile]
+%% \frametitle{\typ{loadtxt}}
+%% \end{frame}
+
\section{Interpolation}
-
\begin{frame}[fragile]
\frametitle{Interpolation}
\begin{itemize}
@@ -145,14 +164,6 @@
\end{lstlisting}
\end{frame}
-\begin{frame}
- \frametitle{\typ{loadtxt}}
- \begin{itemize}
- \item Load data from a text file.
- \item Each row must have same number of values.
- \end{itemize}
-\end{frame}
-
%% \begin{frame}[fragile]
%% \frametitle{Interpolation \ldots}
%% \begin{small}