author | amit |
Wed, 27 Oct 2010 15:13:17 +0530 | |
changeset 362 | a77a27916f81 |
parent 342 | 588b681e70c6 |
permissions | -rw-r--r-- |
321 | 1 |
Creating a linear array:\\ |
2 |
{\ex \lstinline| x = linspace(0, 2*pi, 50)|} |
|
3 |
||
4 |
Plotting two variables:\\ |
|
5 |
{\ex \lstinline| plot(x, sin(x))|} |
|
6 |
||
342 | 7 |
Saving Plot\\ |
8 |
{\includegraphics[width=60mm]{save.png}} |
|
9 |
||
10 |
Zooming into a part of the plot\\ |
|
11 |
{\includegraphics[width=60mm]{zoom.png}} |
|
12 |
||
13 |
Move the plot\\ |
|
14 |
{\includegraphics[width=60mm]{move.png}} |