manipulating-lists/quickref.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Tue, 26 Oct 2010 11:01:31 +0530
changeset 347 7ac0296d1cf6
parent 312 8cb703eee88d
child 423 0f0f4993cffe
permissions -rw-r--r--
Reviewed getting started with ipython script.

Creating a linear array:\\
{\ex \lstinline|    x = linspace(0, 2*pi, 50)|}

Plotting two variables:\\
{\ex \lstinline|    plot(x, sin(x))|}

Plotting two lists of equal length x, y:\\
{\ex \lstinline|    plot(x, y)|}