diff options
author | Puneeth Chaganti | 2010-10-13 11:14:25 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2010-10-13 11:14:25 +0530 |
commit | 426a4d487fc466f5cfc75f3c3d8559e2abcdca1e (patch) | |
tree | 618c076e4bf4ed1930ec84a925372b47401c0f30 /conditionals/quickref.tex | |
parent | 43f44551893e3e15a97002b752630345edc1b364 (diff) | |
download | st-scripts-426a4d487fc466f5cfc75f3c3d8559e2abcdca1e.tar.gz st-scripts-426a4d487fc466f5cfc75f3c3d8559e2abcdca1e.tar.bz2 st-scripts-426a4d487fc466f5cfc75f3c3d8559e2abcdca1e.zip |
Conditionals LO - script and questions.
Diffstat (limited to 'conditionals/quickref.tex')
-rw-r--r-- | conditionals/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/conditionals/quickref.tex b/conditionals/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/conditionals/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)|} |