getting-started-sagenotebook/quickref.tex
author Amit Sethi
Tue, 09 Nov 2010 23:18:57 +0530
changeset 432 c92662f02209
parent 314 11869b16d86b
child 460 5d032e253580
permissions -rw-r--r--
Added exercises to plotting data

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)|}