summaryrefslogtreecommitdiff
path: root/loops/quickref.tex
diff options
context:
space:
mode:
authorPuneeth Chaganti2010-10-06 15:16:09 +0530
committerPuneeth Chaganti2010-10-06 15:16:09 +0530
commit8f629313fdb1ed609b7c18928616c994f58b7576 (patch)
treef1f09d517284797d303dc56626ee39f77cec83f9 /loops/quickref.tex
parentcff8fa89de273338c6ccca0a22217ff3f3858955 (diff)
downloadst-scripts-8f629313fdb1ed609b7c18928616c994f58b7576.tar.gz
st-scripts-8f629313fdb1ed609b7c18928616c994f58b7576.tar.bz2
st-scripts-8f629313fdb1ed609b7c18928616c994f58b7576.zip
Changed structure of my scripts.
Diffstat (limited to 'loops/quickref.tex')
-rw-r--r--loops/quickref.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/loops/quickref.tex b/loops/quickref.tex
new file mode 100644
index 0000000..b26d168
--- /dev/null
+++ b/loops/quickref.tex
@@ -0,0 +1,8 @@
+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)|}