plotui/quickref.tex
author Anoop Jacob Thomas<anoop@fossee.in>
Sun, 07 Nov 2010 18:36:59 +0530
changeset 398 36295bb91766
parent 342 588b681e70c6
permissions -rw-r--r--
Added quickrefs for dictionaries, getting started with arrays, for, matrices, other plots, savefig, using python modules.
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}}