summaryrefslogtreecommitdiff
path: root/day1/session5.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day1/session5.tex')
-rw-r--r--day1/session5.tex9
1 files changed, 6 insertions, 3 deletions
diff --git a/day1/session5.tex b/day1/session5.tex
index 8865438..46726cc 100644
--- a/day1/session5.tex
+++ b/day1/session5.tex
@@ -151,14 +151,17 @@ plot(l, t, '.')
\begin{columns}
\column{0.5\textwidth}
\hspace*{-0.5in}
- \includegraphics[height=2in, interpolate=true]{data/points}
+ \includegraphics[height=2in, interpolate=true]{data/triangle}
\column{0.45\textwidth}
\begin{block}{Line between two points}
\tiny
\begin{lstlisting}
-In []: x = [1, 5]
-In []: y = [1, 4]
+In []: x = [3, 1]
+In []: y = [2, -3]
+In []: z = [-2, 4]
In []: plot(x, y)
+In []: plot(y, z)
+In []: plot(x, z)
\end{lstlisting}
\end{block}
\end{columns}