template/quickref.tex
author anoop
Sat, 09 Oct 2010 03:54:07 +0530
changeset 260 25b4e962b55e
parent 213 6b10318465d4
permissions -rw-r--r--
added base scripts and questions except for matrices and other-type-of-plots.

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