plotui/quickref.tex
author amit
Wed, 27 Oct 2010 15:13:17 +0530
changeset 362 a77a27916f81
parent 342 588b681e70c6
permissions -rw-r--r--
Added Objectives and other metadata
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
321
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     1
Creating a linear array:\\
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     2
{\ex \lstinline|    x = linspace(0, 2*pi, 50)|}
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     3
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     4
Plotting two variables:\\
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     5
{\ex \lstinline|    plot(x, sin(x))|}
2e49b1b72996 adding questions for all other LO needs to be cleaned
amit
parents:
diff changeset
     6
342
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
     7
Saving Plot\\
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
     8
{\includegraphics[width=60mm]{save.png}}
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
     9
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
    10
Zooming into a part of the plot\\
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
    11
{\includegraphics[width=60mm]{zoom.png}}
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
    12
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
    13
Move the plot\\
588b681e70c6 Added a few large questions and quickrefs
amit
parents: 321
diff changeset
    14
{\includegraphics[width=60mm]{move.png}}