# HG changeset patch # User Santosh G. Vattam # Date 1264671384 -19800 # Node ID 5f02dfb93df10c2c107375cb852bd5555a451f44 # Parent 9956a5bcd0f5412acffe7d50dcbfe367e6c5f7fd Minor edits to day1quiz1. diff -r 9956a5bcd0f5 -r 5f02dfb93df1 day1/day1quiz1.tex --- a/day1/day1quiz1.tex Thu Jan 28 15:02:15 2010 +0530 +++ b/day1/day1quiz1.tex Thu Jan 28 15:06:24 2010 +0530 @@ -94,18 +94,18 @@ What ipython magic command do you use to obtain the lines of code you have already typed in the interpreter? What command do you use to save them? \end{frame} -\begin{frame}[fragile] -\frametitle{\incqno } -The following code snippet has an error/bug: -\begin{lstlisting} -In []: y = linspace(0, 2*pi, 50) -In []: plot(y, sin(y)) -In []: clf() -In []: plot(y, cos(y)) -In []: legend(['sin(y)', 'cos(y)']) -\end{lstlisting} -What is the error? How do you fix it? -\end{frame} +%% \begin{frame}[fragile] +%% \frametitle{\incqno } +%% The following code snippet has an error/bug: +%% \begin{lstlisting} +%% In []: y = linspace(0, 2*pi, 50) +%% In []: plot(y, sin(y)) +%% In []: clf() +%% In []: plot(y, cos(y)) +%% In []: legend(['sin(y)', 'cos(y)']) +%% \end{lstlisting} +%% What is the error? How do you fix it? +%% \end{frame} \begin{frame}[fragile] \frametitle{\incqno }