plotui/quickref.tex
author amit
Tue, 26 Oct 2010 15:44:09 +0530
changeset 349 9ced58c5c3b6
parent 342 588b681e70c6
permissions -rw-r--r--
Added long answer type problems in all scripts
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}}