# HG changeset patch # User Puneeth Chaganti # Date 1256130655 -19800 # Node ID 5365aa8ec9a5d1961f764314509face1ad545099 # Parent 4dea7c5e1bf5819fdda5f75346ad93ff636d0253 Edits to explanation on legend(). diff -r 4dea7c5e1bf5 -r 5365aa8ec9a5 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}