summaryrefslogtreecommitdiff
path: root/scipy/basic/session1a.tex
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/basic/session1a.tex')
-rw-r--r--scipy/basic/session1a.tex52
1 files changed, 0 insertions, 52 deletions
diff --git a/scipy/basic/session1a.tex b/scipy/basic/session1a.tex
index ded2a91..d0c5bf3 100644
--- a/scipy/basic/session1a.tex
+++ b/scipy/basic/session1a.tex
@@ -660,55 +660,3 @@ In []: plot??
\end{frame}
\end{document}
-
-%% Questions for Quiz %%
-%% ------------------ %%
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
-Draw (roughly) the plot obtained by the following:
-\begin{lstlisting}
-In []: x = linspace(0, pi, 3)
-In []: plot(x, sin(x))
-\end{lstlisting}
-\end{frame}
-
-\begin{frame}[fragile]
-\frametitle{\incqno }
-Describe the plot produced by the following:
-\begin{lstlisting}
-In []: x = linspace(0, 2*pi, 50)
-In []: plot(x, cos(x), 'go')
-\end{lstlisting}
-\end{frame}
-
-\begin{frame}
-\frametitle{\incqno }
-How will you plot the previous graph with line width set to 3? How will
-you set the $x$ and $y$ labels of the plot?
-\end{frame}
-
-\begin{frame}
-\frametitle{\incqno }
-How will you set the x and y axis limits so that the region of interest
-is in the rectangle $(0, -1.5)$ (left bottom coordinate) and $(2\pi,
-1.5)$ (right top coordinate)?
-\end{frame}
-
-\begin{frame}
-\frametitle{\incqno }
-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}