using-plot-interactively/quickref.tex
author anand
Mon, 15 Nov 2010 14:54:10 +0530
changeset 502 8ca74cb15807
parent 409 43a24f7ab183
permissions -rw-r--r--
checklist not ok; 5 short answer questions and 2 long answer questions are to be included.

Creating a linear array:\\
{\ex \lstinline|    x = linspace(0, 2*pi, 50)|}

Plotting two variables:\\
{\ex \lstinline|    plot(x, sin(x))|}

Saving Plot\\
{\includegraphics[width=60mm]{save.png}}

Zooming into a part of the plot\\
{\includegraphics[width=60mm]{zoom.png}}

Move the plot\\
{\includegraphics[width=60mm]{move.png}}