equal
deleted
inserted
replaced
57 'm' ---> Magenta |
57 'm' ---> Magenta |
58 'y' ---> Yellow |
58 'y' ---> Yellow |
59 'k' ---> Black |
59 'k' ---> Black |
60 'w' ---> White |
60 'w' ---> White |
61 \end{lstlisting} |
61 \end{lstlisting} |
62 One can also set the line width of plot using optional argument \typ{linewidth}. For example:\\ |
62 One can set the width of the plotline using optional argument \typ{linewidth}. For example:\\ |
63 \typ{In []: plot(x, cos(x), 'r', linewidth=2)}\\ |
63 \typ{In []: plot(x, cos(x), 'r', linewidth=2)}\\ |
64 Plots the line with linewidth = 2 |
64 Plots the line with linewidth = 2 |
65 \subsection{label and title} |
65 \subsection{label and title} |
66 \typ{In []: xlabel('Length') #sets *x* axis label to Length}\\ |
66 \typ{In []: xlabel('Length') #sets *x* axis label to Length}\\ |
67 \typ{In []: ylabel('Time') #sets *y* axis label to Time.}\\ |
67 \typ{In []: ylabel('Time') #sets *y* axis label to Time.}\\ |