day1/session5.tex
changeset 385 c70118cdde66
parent 382 41c34770d63a
child 389 aa392117454f
equal deleted inserted replaced
384:9f9fddf7e37c 385:c70118cdde66
    76 \title[Exercises]{Exercises}
    76 \title[Exercises]{Exercises}
    77 
    77 
    78 \author[FOSSEE] {FOSSEE}
    78 \author[FOSSEE] {FOSSEE}
    79 
    79 
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    80 \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay}
    81 \date[] {02 April, 2010\\Day 1, Session 5}
    81 \date[] {22 April, 2010\\Day 1, Session 5}
    82 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    82 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    83 
    83 
    84 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
    84 %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo}
    85 %\logo{\pgfuseimage{iitmlogo}}
    85 %\logo{\pgfuseimage{iitmlogo}}
    86 
    86 
   151   \begin{columns}
   151   \begin{columns}
   152     \column{0.5\textwidth}
   152     \column{0.5\textwidth}
   153     \hspace*{-0.5in}
   153     \hspace*{-0.5in}
   154     \includegraphics[height=2in, interpolate=true]{data/triangle}
   154     \includegraphics[height=2in, interpolate=true]{data/triangle}
   155     \column{0.45\textwidth}
   155     \column{0.45\textwidth}
   156     \begin{block}{Line between two points}
   156     \begin{block}{Plot points given x and y coordinates}
   157     \tiny
   157     \tiny
   158     \begin{lstlisting}
   158     \begin{lstlisting}
   159 In []: x = [3, 1]
   159 In []: x = [3, 2, -2, 3]
   160 In []: y = [2, -3]
   160 In []: y = [1, -3, 4, 1]
   161 In []: z = [-2, 4]
       
   162 In []: plot(x, y)
   161 In []: plot(x, y)
   163 In []: plot(y, z)
       
   164 In []: plot(x, z)
       
   165     \end{lstlisting}
   162     \end{lstlisting}
   166     \end{block}
   163     \end{block}
   167   \end{columns}
   164   \end{columns}
   168   Line can be plotted using arrays of coordinates.
   165   Line can be plotted using arrays of coordinates.
   169   \pause
   166   \pause