Edits to explanation on legend().
authorPuneeth Chaganti <punchagan@fossee.in>
Wed, 21 Oct 2009 18:40:55 +0530
changeset 138 5365aa8ec9a5
parent 137 4dea7c5e1bf5
child 139 039a07b0ff53
Edits to explanation on legend().
day1/session1.tex
--- a/day1/session1.tex	Wed Oct 21 16:57:28 2009 +0530
+++ b/day1/session1.tex	Wed Oct 21 18:40:55 2009 +0530
@@ -190,10 +190,12 @@
 #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}