diff options
author | Puneeth Chaganti | 2010-10-13 11:12:18 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2010-10-13 11:12:18 +0530 |
commit | 3822a7a4b5ddd620eb8bbc7fb808e2b7a88de4b9 (patch) | |
tree | 8ab7fae2389ffb9d796e2a7ba4cf0001f92935e3 /manipulating-lists/quickref.tex | |
parent | 2781796fe1f125d85772ca882f5464325b38c146 (diff) | |
download | st-scripts-3822a7a4b5ddd620eb8bbc7fb808e2b7a88de4b9.tar.gz st-scripts-3822a7a4b5ddd620eb8bbc7fb808e2b7a88de4b9.tar.bz2 st-scripts-3822a7a4b5ddd620eb8bbc7fb808e2b7a88de4b9.zip |
Manipulating lists LO - script and questions.
Diffstat (limited to 'manipulating-lists/quickref.tex')
-rw-r--r-- | manipulating-lists/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manipulating-lists/quickref.tex b/manipulating-lists/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/manipulating-lists/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)|} |