diff options
Diffstat (limited to 'day1/cheatsheet1.tex')
-rwxr-xr-x | day1/cheatsheet1.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/day1/cheatsheet1.tex b/day1/cheatsheet1.tex index 00488c8..a5f59e1 100755 --- a/day1/cheatsheet1.tex +++ b/day1/cheatsheet1.tex @@ -65,7 +65,7 @@ Plots the line with linewidth = 2 \subsection{label and title} \typ{In []: xlabel('Length') #sets *x* axis label to Length}\\ \typ{In []: ylabel('Time') #sets *y* axis label to Time.}\\ -\typ{In []: title('Sinusoid') #sets title of plot}\\ +\typ{In []: title('Sinusoids') #sets title of plot}\\ \\ \textbf{Additionally}\\ Pylab accepts TeX equation expressions in any text expression. To get something like:\\ @@ -78,7 +78,7 @@ Same way one can have TeX expression on xlabel, ylabel etc. \subsection{legends} \typ{In []: legend('sin(x)',loc=center)} \\ -Place a legend on the current plot at location *loc*.\\ +Places a legend on the current plot at location *loc*.\\ Apart from \typ{center}, some other \typ{loc} which can be specified are: \begin{lstlisting} 'best' |