getting-started-sagenotebook/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Tue, 09 Nov 2010 15:33:47 +0530
changeset 413 da1f270b07b7
parent 314 11869b16d86b
child 460 5d032e253580
permissions -rw-r--r--
Change to progress.org

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