testing-debugging/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Tue, 09 Nov 2010 14:57:08 +0530
changeset 412 bb45826efe74
parent 401 abf092be95ef
child 489 bc8d01c3c9b3
permissions -rw-r--r--
Changes to basic data-types.

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