diff options
author | Puneeth Chaganti | 2010-10-13 11:13:46 +0530 |
---|---|---|
committer | Puneeth Chaganti | 2010-10-13 11:13:46 +0530 |
commit | 43f44551893e3e15a97002b752630345edc1b364 (patch) | |
tree | 456cff5ae98bb1e47599d242a09ec964559dee06 /getting-started-sagenotebook/quickref.tex | |
parent | 2a702a60090fb21d563c6ea4fe1759181c636040 (diff) | |
download | st-scripts-43f44551893e3e15a97002b752630345edc1b364.tar.gz st-scripts-43f44551893e3e15a97002b752630345edc1b364.tar.bz2 st-scripts-43f44551893e3e15a97002b752630345edc1b364.zip |
Getting started with sagenotebook LO - script and questions.
Diffstat (limited to 'getting-started-sagenotebook/quickref.tex')
-rw-r--r-- | getting-started-sagenotebook/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/getting-started-sagenotebook/quickref.tex b/getting-started-sagenotebook/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/getting-started-sagenotebook/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)|} |