accessing-pieces-arrays/quickref.tex
author amit
Wed, 13 Oct 2010 17:28:04 +0530
changeset 322 3cacbcad4c42
parent 217 b595f90016c5
child 285 7c4855fb8e5f
permissions -rw-r--r--
Adding plotting data

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