next up previous contents
Next: System creation Up: Plotting Previous: Subplot function

Few other plotting commands

>> n=-10:10;
>> y=n.^2;
>> subplot(1,2,1)
>> stem(n,y)
>> title('stem function')
>> subplot(1,2,2)
>> stairs(n,y)
>> title('stairs function')
Figure 4: stem and stairs example
\begin{figure}
\center
\epsfig{width=5in,file=stem_stairs.eps}
\end{figure}


Copyright © 2004, Aly El-Osery
Last Modified 2005-10-27