diff options
author | Nishanth Amuluru | 2010-10-06 15:40:46 +0530 |
---|---|---|
committer | Nishanth Amuluru | 2010-10-06 15:40:46 +0530 |
commit | 69333df8d673622ce28fd5fa15b477072dcd1543 (patch) | |
tree | 9fc0b9e9fde3e33b6d9823da7aa2896aa6584a6f /loading-data-from-files/quickref.tex | |
parent | 8ddc479f7129333d5eae440f0173c283507f678a (diff) | |
parent | 1dd30c335835faac13965fe21143814ec60408ad (diff) | |
download | st-scripts-69333df8d673622ce28fd5fa15b477072dcd1543.tar.gz st-scripts-69333df8d673622ce28fd5fa15b477072dcd1543.tar.bz2 st-scripts-69333df8d673622ce28fd5fa15b477072dcd1543.zip |
Merged branches
Diffstat (limited to 'loading-data-from-files/quickref.tex')
-rw-r--r-- | loading-data-from-files/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/loading-data-from-files/quickref.tex b/loading-data-from-files/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/loading-data-from-files/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)|} |