loading-data-from-files/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Thu, 07 Oct 2010 15:11:00 +0530
changeset 244 b67d5e07cab5
parent 217 b595f90016c5
child 285 7c4855fb8e5f
permissions -rw-r--r--
Added pendulum.txt to getting started with files LO.

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