conditionals/quickref.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Thu, 28 Oct 2010 12:16:47 +0530
changeset 367 2ca9b21ed8f9
parent 315 7944a4504769
child 439 b437ff7def95
permissions -rw-r--r--
reviewed advanced features of functions 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)|}