template/quickref.tex
author anoop
Mon, 11 Oct 2010 20:20:29 +0530
changeset 290 290f3e62dc44
parent 213 6b10318465d4
permissions -rw-r--r--
added slides for savefig.

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