Graphics 
MATLAB has a number of specialized functions that are appropriate for displaying discrete data. This section describes how to use stem plots and stairstep plots to display this type of data. (Bar charts, discussed earlier in this section, are also suitable for displaying discrete data.)
The following table lists the commands described in this section.
Function 
Description 
Displays a discrete sequence of zdata as stems from xyplane 

Specifying Number of Bins  TwoDimensional Stem Plots 
© 19942005 The MathWorks, Inc.