day1/session1.tex
branchscipy2010
changeset 407 b5d3b5ddac7b
parent 405 208415b16242
child 413 984d8a3394cc
--- a/day1/session1.tex	Thu Jun 17 16:10:54 2010 -0400
+++ b/day1/session1.tex	Thu Jun 17 20:58:42 2010 -0400
@@ -337,6 +337,32 @@
   \end{lstlisting}
 \end{frame}
 
+\begin{frame}[fragile]
+\frametitle{IPython tips \ldots}
+
+\begin{itemize}
+    \item Use \typ{TAB} to complete command 
+\end{itemize}
+        \vspace*{0.5in}
+
+        {\Large \structure{History}}
+\begin{itemize}
+    \item Accesses history (also from past sessions)
+
+    \item Up and down arrows (\typ{Ctrl-p}/\typ{Ctrl-n})
+
+    \item Search: \typ{Ctrl-r} and start typing
+
+    \item \typ{Ctrl-a}: go to start of line
+
+    \item \typ{Ctrl-e}: end of line
+
+    \item \typ{Ctrl-k}: kill to end of line
+\end{itemize}
+
+\end{frame}
+
+
 \subsection{More decoration}
 \begin{frame}[fragile]
 \frametitle{Title and Legends}
@@ -492,6 +518,29 @@
 \end{frame}
 
 \begin{frame}[fragile]
+\frametitle{IPython tips \ldots}
+
+\begin{itemize}
+
+    \item Try:
+\begin{lstlisting}
+In []: plot?
+\end{lstlisting}
+        to get more information on \typ{plot} 
+
+        \vspace*{0.5in}
+    \item Try: 
+\begin{lstlisting}
+In []: plot?
+\end{lstlisting}
+    to see source code
+
+\end{itemize}
+
+\end{frame}
+
+
+\begin{frame}[fragile]
 \frametitle{Review Problem}
 \begin{enumerate}
 \item Plot x, -x, sin(x), xsin(x) in range $-5\pi$ to $5\pi$
@@ -584,10 +633,11 @@
   \frametitle{What did we learn?}
   \begin{itemize}
     \item Starting up IPython
-    \item Creating simple plots.
-    \item Adding labels and legends.
-    \item Annotating plots.
+    \item Creating simple plots
+    \item Adding labels and legends
+    \item Annotating plots
     \item Changing the looks: size, linewidth
+    \item Accessing history, documentation
     \item \kwrd{\%hist} - History of commands
     \item \kwrd{\%save} - Saving commands 
     \item Running a script using \kwrd{\%run -i}