diff -r 9f9fddf7e37c -r c70118cdde66 day2/session3.tex --- a/day2/session3.tex Wed Apr 21 13:47:36 2010 +0530 +++ b/day2/session3.tex Fri Apr 23 08:49:25 2010 +0530 @@ -78,7 +78,7 @@ \author[FOSSEE Team] {The FOSSEE Group} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {03 April, 2010\\Day 2, Session 3} +\date[] {23 April, 2010\\Day 2, Session 3} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -160,16 +160,13 @@ \frametitle{Functions: Keyword arguments} We have seen the following \begin{lstlisting} -In []: legend(['sin(2y)'], - loc = 'center') +legend(['sin(2y)'], loc = 'center') + +plot(y, sin(y), 'g', linewidth = 2) -In []: plot(y, sin(y), 'g', - linewidth = 2) +annotate('local max', xy = (1.5, 1)) -In []: annotate('local max', - xy = (1.5, 1)) - -In []: pie(science.values(), +pie(science.values(), labels = science.keys()) \end{lstlisting} \end{frame}