using-plot-interactively/quickref.tex
author anand
Thu, 11 Nov 2010 00:03:57 +0530
changeset 472 fcdec2d28c9a
parent 409 43a24f7ab183
permissions -rw-r--r--
Checklist OK for `The other kinds of plots`
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}}