equal
deleted
inserted
replaced
556 |
556 |
557 \begin{frame}[fragile] |
557 \begin{frame}[fragile] |
558 \frametitle{Review Problem \ldots} |
558 \frametitle{Review Problem \ldots} |
559 \alert{Plotting \ldots} |
559 \alert{Plotting \ldots} |
560 \begin{lstlisting} |
560 \begin{lstlisting} |
561 In []: x=linspace(-5*pi, 5*pi, 500) |
561 In []: x = linspace(-5*pi, 5*pi, 500) |
562 In []: plot(x, x, 'b') |
562 In []: plot(x, x, 'b') |
563 In []: plot(x, -x, 'b') |
563 In []: plot(x, -x, 'b') |
564 In []: plot(x, sin(x), 'g', linewidth=2) |
564 In []: plot(x, sin(x), 'g', linewidth=2) |
565 In []: plot(x, x*sin(x), 'r', |
565 In []: plot(x, x*sin(x), 'r', |
566 linewidth=3) |
566 linewidth=3) |