author | Amit Sethi |
Tue, 09 Nov 2010 12:31:05 +0530 | |
changeset 414 | f76622c8cbd9 |
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}} |