plotui/quickref.tex
author Amit Sethi
Tue, 09 Nov 2010 12:31:05 +0530
changeset 414 f76622c8cbd9
parent 342 588b681e70c6
permissions -rw-r--r--
Review of addition ipython
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}}