equal
deleted
inserted
replaced
519 \end{itemize} |
519 \end{itemize} |
520 \end{frame} |
520 \end{frame} |
521 |
521 |
522 \end{document} |
522 \end{document} |
523 |
523 |
|
524 %% Questions for Quiz %% |
|
525 %% ------------------ %% |
|
526 |
|
527 \begin{frame}[fragile] |
|
528 \frametitle{\incqno } |
|
529 Describe the plot produced by the following: |
|
530 \begin{lstlisting} |
|
531 In []: x = linspace(0, 2*pi) |
|
532 In []: plot(x, cos(x), 'go') |
|
533 \end{lstlisting} |
|
534 \end{frame} |
|
535 |
|
536 \begin{frame} |
|
537 \frametitle{\incqno } |
|
538 How will you plot the previous graph with line width set to 3? How will |
|
539 you set the $x$ and $y$ labels of the plot? |
|
540 \end{frame} |
|
541 |
|
542 \begin{frame} |
|
543 \frametitle{\incqno } |
|
544 How will you set the x and y axis limits so that the region of interest |
|
545 is in the rectangle $(0, -1.5)$ (left bottom coordinate) and $(2\pi, |
|
546 1.5)$ (right top coordinate)? |
|
547 \end{frame} |
|
548 |
|
549 \begin{frame} |
|
550 \frametitle{\incqno } |
|
551 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? |
|
552 \end{frame} |
|
553 |