template/quickref.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Tue, 12 Oct 2010 16:26:36 +0530
changeset 308 0a0a91fb3a0d
parent 213 6b10318465d4
permissions -rw-r--r--
added slides for 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)|}