diff options
Diffstat (limited to 'getting-started-ipython/quickref.tex')
-rw-r--r-- | getting-started-ipython/quickref.tex | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/getting-started-ipython/quickref.tex b/getting-started-ipython/quickref.tex index b26d168..460b921 100644 --- a/getting-started-ipython/quickref.tex +++ b/getting-started-ipython/quickref.tex @@ -1,8 +1,14 @@ -Creating a linear array:\\ -{\ex \lstinline| x = linspace(0, 2*pi, 50)|} +\textbf{Getting started -- \texttt{ipython}} -Plotting two variables:\\ -{\ex \lstinline| plot(x, sin(x))|} +To start \lstinline|ipython| with \lstinline|pylab|:\\ +\lstinline| $ ipython -pylab| %$ -Plotting two lists of equal length x, y:\\ -{\ex \lstinline| plot(x, y)|} +To exit: \lstinline|^D| (Ctrl-D) + +To interrupt: \lstinline|^C| (Ctrl-C) + +Tab completes partial commands + +\texttt{?} to look up documentation. + +Arrow keys to navigate the history. |