getting-started-strings/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Fri, 05 Nov 2010 21:19:11 +0530
changeset 380 c17aa604468a
parent 313 b9b7bfce773e
child 436 e62bc810999c
permissions -rw-r--r--
Changes to accessing parts of arrays during recording.

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