summaryrefslogtreecommitdiff
path: root/day1/cheatsheet1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'day1/cheatsheet1.tex')
-rwxr-xr-xday1/cheatsheet1.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/day1/cheatsheet1.tex b/day1/cheatsheet1.tex
index 29aa60f..00488c8 100755
--- a/day1/cheatsheet1.tex
+++ b/day1/cheatsheet1.tex
@@ -44,7 +44,7 @@ Do you really want to exit ([y]/n)? y
\subsection{plot}
\typ{In []: plot(X, Y)}\\
-For given arrays of equal length(above case X and Y), \typ{plot} plots the correspoding *x* and *y* pairs taken from X and Y.
+For given arrays of equal length(above case X and Y), \typ{plot} plots the corresponding *x* and *y* pairs taken from X and Y.
\subsection{Colors of plots}
\typ{In []: plot(y, sin(y), 'g')}\\
@@ -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('Sinusoids') #sets title of plot}\\
+\typ{In []: title('Sinusoid') #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)} \\
-Placec a legend on the current plot at location *loc*.\\
+Place 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'