using-plot-interactively/quickref.tex
author Amit Sethi
Tue, 09 Nov 2010 15:40:53 +0530
changeset 418 8a42b4203f6d
parent 409 43a24f7ab183
permissions -rw-r--r--
"Merging heads"

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