summaryrefslogtreecommitdiff
path: root/day1/session1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day1/session1.tex')
-rw-r--r--day1/session1.tex60
1 files changed, 35 insertions, 25 deletions
diff --git a/day1/session1.tex b/day1/session1.tex
index 47051cc..48cd878 100644
--- a/day1/session1.tex
+++ b/day1/session1.tex
@@ -77,7 +77,7 @@
\author[FOSSEE] {FOSSEE}
\institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
-\date[] {7 November, 2009\\Day 1, Session 1}
+\date[] {11 January, 2010\\Day 1, Session 1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
@@ -125,28 +125,28 @@
\begin{frame}
\frametitle{Workshop Schedule: Day 1}
\begin{description}
- \item[Session 1] Sat 09:00--10:00
- \item[Session 2] Sat 10:05--11:05
- \item[Session 3] Sat 11:20--12:20
- \item[Session 4] Sat 12:25--13:25
- \item[Quiz 1] Sat 14:25--14:40
- \item[Session 5] Sat 14:40--15:25
- \item[Session 6] Sat 15:40--16:40
- \item[Quiz 2] Sat 16:45--17:00
+ \item[Session 1] Mon 09:00--10:00
+ \item[Session 2] Mon 10:05--11:05
+ \item[Session 3] Mon 11:20--12:20
+ \item[Session 4] Mon 12:25--13:25
+ \item[Quiz 1] Mon 14:25--14:40
+ \item[Exercises] Mon 14:40--15:25
+ \item[Session 5] Mon 15:40--16:40
+ \item[Quiz 2] Mon 16:45--17:00
\end{description}
\end{frame}
\begin{frame}
\frametitle{Workshop Schedule: Day 2}
\begin{description}
- \item[Session 1] Sun 09:00--10:00
- \item[Session 2] Sun 10:05--11:05
- \item[Session 3] Sun 11:20--12:20
- \item[Session 4] Sun 12:25--13:25
- \item[Quiz 1] Sun 14:25--14:40
- \item[Session 5] Sun 14:40--15:25
- \item[Session 6] Sun 15:40--16:40
- \item[Quiz 2] Sun 16:45--17:00
+ \item[Session 1] Tue 09:00--10:00
+ \item[Session 2] Tue 10:05--11:05
+ \item[Session 3] Tue 11:20--12:20
+ \item[Session 4] Tue 12:25--13:25
+ \item[Quiz 1] Tue 14:25--14:40
+ \item[Exercises] Tue 14:40--15:25
+ \item[Session 5] Tue 15:40--16:40
+ \item[Quiz 2] Tue 16:45--17:00
\end{description}
\end{frame}
@@ -189,7 +189,6 @@
\item Images
\begin{itemize}
\item \typ{lena.png}
- \item \typ{smoothing.gif}
\end{itemize}
\end{enumerate}
\end{frame}
@@ -197,9 +196,9 @@
\begin{frame}[fragile]
\frametitle{Starting up \ldots}
\begin{block}{}
-\begin{verbatim}
+\begin{lstlisting}
$ ipython -pylab
-\end{verbatim}
+\end{lstlisting} %$
\end{block}
\begin{lstlisting}
In []: print "Hello, World!"
@@ -448,25 +447,36 @@ In []: ylim(ymin-0.2, ymax+0.2)
\item Annotate the origin
\item Set axes limits to the range of x
\end{enumerate}
+\vspace*{-0.1in}
+\begin{center}
+ \includegraphics[height=2.1in, interpolate=true]{data/four_plot}
+\end{center}
+\end{frame}
+
+\begin{frame}[fragile]
+\frametitle{Review Problem \ldots}
+\alert{Plotting \ldots}
\begin{lstlisting}
In []: x=linspace(-5*pi, 5*pi, 500)
In []: plot(x, x, 'b')
In []: plot(x, -x, 'b')
+In []: plot(x, sin(x), 'g', linewidth=2)
+In []: plot(x, x*sin(x), 'r',
+ linewidth=3)
\end{lstlisting}
$\vdots$
\end{frame}
\begin{frame}[fragile]
\frametitle{Review Problem \ldots}
-\begin{lstlisting}
-In []: plot(x, sin(x), 'g', linewidth=2)
-In []: plot(x, x*sin(x), 'r',
- linewidth=3)
-\end{lstlisting}
+\alert{Legend \& Annotation\ldots}
\begin{lstlisting}
In []: legend(['x', '-x', 'sin(x)',
'xsin(x)'])
In []: annotate('origin', xy = (0, 0))
+\end{lstlisting}
+\alert{Setting Axes limits\ldots}
+\begin{lstlisting}
In []: xlim(-5*pi, 5*pi)
In []: ylim(-5*pi, 5*pi)
\end{lstlisting}