getting-started-with-lists/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Wed, 20 Oct 2010 16:19:55 +0530
changeset 341 9f7eb1ed0e08
parent 320 223044cf254f
child 342 588b681e70c6
permissions -rw-r--r--
Merged heads.

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