summaryrefslogtreecommitdiff
path: root/using-plot-interactively/quickref.tex
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-11-09 10:54:53 +0530
committerPuneeth Chaganti2010-11-09 10:54:53 +0530
commit6adf074027964e36420449e4347bf9045868b7d2 (patch)
treef00e2f7658c1a21f1e93e88e978007ed6f78ba9e /using-plot-interactively/quickref.tex
parent8d719a699d597c2af29a377df294066c356b1519 (diff)
downloadst-scripts-6adf074027964e36420449e4347bf9045868b7d2.tar.gz
st-scripts-6adf074027964e36420449e4347bf9045868b7d2.tar.bz2
st-scripts-6adf074027964e36420449e4347bf9045868b7d2.zip
Moved plotui to using-plot-interactively.
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}}