summaryrefslogtreecommitdiff
path: root/day1
diff options
context:
space:
mode:
authorPuneeth Chaganti2009-10-21 18:40:55 +0530
committerPuneeth Chaganti2009-10-21 18:40:55 +0530
commitd3ebbf691d0b6a8640bfba83d725cd3d549b5662 (patch)
tree20de3d51e377f11dc1cdc9cbd6d9dc018df78698 /day1
parent92a6c34240d591bec5ab3d281b54e1e29facef4c (diff)
downloadworkshops-more-scipy-d3ebbf691d0b6a8640bfba83d725cd3d549b5662.tar.gz
workshops-more-scipy-d3ebbf691d0b6a8640bfba83d725cd3d549b5662.tar.bz2
workshops-more-scipy-d3ebbf691d0b6a8640bfba83d725cd3d549b5662.zip
Edits to explanation on legend().
Diffstat (limited to 'day1')
-rw-r--r--day1/session1.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/day1/session1.tex b/day1/session1.tex
index 7fac9b9..2470a74 100644
--- a/day1/session1.tex
+++ b/day1/session1.tex
@@ -190,10 +190,12 @@ In []: title('Sinusoids')
#Sets the title of the figure
In []: legend()
-# When plot made with label
+# Shows a legend in the figure
+# Used when plot was made with label
# plot(y, -2*sin(-y), label='sin')
In []: legend(['sin'])
-# When no label, or to change
+# When no labels were used
+# Or to change the labels
\end{lstlisting}
\end{frame}