testing-debugging/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Wed, 10 Nov 2010 10:24:03 +0530
changeset 435 975677bf1b8a
parent 401 abf092be95ef
child 489 bc8d01c3c9b3
permissions -rw-r--r--
Changes to progress.org.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
401
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     1
Creating a linear array:\\
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     2
{\ex \lstinline|    x = linspace(0, 2*pi, 50)|}
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     3
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     4
Plotting two variables:\\
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     5
{\ex \lstinline|    plot(x, sin(x))|}
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     6
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     7
Plotting two lists of equal length x, y:\\
abf092be95ef Adding testing and debugging files
Amit Sethi
parents:
diff changeset
     8
{\ex \lstinline|    plot(x, y)|}