diff options
Diffstat (limited to 'using_sage/quickref.tex')
-rw-r--r-- | using_sage/quickref.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/using_sage/quickref.tex b/using_sage/quickref.tex new file mode 100644 index 0000000..b26d168 --- /dev/null +++ b/using_sage/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)|} |