summaryrefslogtreecommitdiff
path: root/using-plot-interactively/quickref.tex
diff options
context:
space:
mode:
authorAmit Sethi2010-11-09 15:40:53 +0530
committerAmit Sethi2010-11-09 15:40:53 +0530
commit8d896c4eb9f915a7b7da9b3b15871ad51209bf1d (patch)
treee4bb7a47d35302ac601d4c36ebeae0b326c086af /using-plot-interactively/quickref.tex
parent4065e37886895c703f0a6495fe5894e7151543b3 (diff)
parent3ccaf26be2e2321ce074ea72448fb4240a22523e (diff)
downloadst-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.tar.gz
st-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.tar.bz2
st-scripts-8d896c4eb9f915a7b7da9b3b15871ad51209bf1d.zip
"Merging heads"
Diffstat (limited to 'using-plot-interactively/quickref.tex')
-rw-r--r--using-plot-interactively/quickref.tex14
1 files changed, 14 insertions, 0 deletions
diff --git a/using-plot-interactively/quickref.tex b/using-plot-interactively/quickref.tex
new file mode 100644
index 0000000..6f0451f
--- /dev/null
+++ b/using-plot-interactively/quickref.tex
@@ -0,0 +1,14 @@
+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}}