getting-started-ipython/quickref.tex
changeset 324 4054b1a6392d
parent 285 7c4855fb8e5f
equal deleted inserted replaced
323:e675f9208b91 324:4054b1a6392d
     1 Creating a linear array:\\
     1 \textbf{Getting started -- \texttt{ipython}}
     2 {\ex \lstinline|    x = linspace(0, 2*pi, 50)|}
       
     3 
     2 
     4 Plotting two variables:\\
     3 To start \lstinline|ipython| with \lstinline|pylab|:\\
     5 {\ex \lstinline|    plot(x, sin(x))|}
     4 \lstinline|    $ ipython -pylab| %$
     6 
     5 
     7 Plotting two lists of equal length x, y:\\
     6 To exit: \lstinline|^D| (Ctrl-D)
     8 {\ex \lstinline|    plot(x, y)|}
     7 
       
     8 To interrupt: \lstinline|^C| (Ctrl-C)
       
     9 
       
    10 Tab completes partial commands
       
    11 
       
    12 \texttt{?} to look up documentation. 
       
    13 
       
    14 Arrow keys to navigate the history.