manipulating-lists/quickref.tex
author bhanu
Mon, 08 Nov 2010 00:58:12 +0530
changeset 452 0a39cb296fb2
parent 312 8cb703eee88d
child 423 0f0f4993cffe
permissions -rw-r--r--
checked the language for the script `loops`

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)|}