equal
deleted
inserted
replaced
188 \begin{lstlisting} |
188 \begin{lstlisting} |
189 In []: title('Sinusoids') |
189 In []: title('Sinusoids') |
190 #Sets the title of the figure |
190 #Sets the title of the figure |
191 |
191 |
192 In []: legend() |
192 In []: legend() |
193 # When plot made with label |
193 # Shows a legend in the figure |
|
194 # Used when plot was made with label |
194 # plot(y, -2*sin(-y), label='sin') |
195 # plot(y, -2*sin(-y), label='sin') |
195 In []: legend(['sin']) |
196 In []: legend(['sin']) |
196 # When no label, or to change |
197 # When no labels were used |
|
198 # Or to change the labels |
197 |
199 |
198 \end{lstlisting} |
200 \end{lstlisting} |
199 \end{frame} |
201 \end{frame} |
200 |
202 |
201 \begin{frame}[fragile] |
203 \begin{frame}[fragile] |