getting-started-with-lists/quickref.tex
author amit
Wed, 13 Oct 2010 17:10:38 +0530
changeset 320 223044cf254f
parent 213 template/quickref.tex@6b10318465d4
child 342 588b681e70c6
permissions -rw-r--r--
Adding new format st-scripts with questions etc for basic-data-type and getting started with lists

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