Getting Started Previous page   Next Page

Imaginary and Complex Data

When the arguments to plot are complex, the imaginary part is ignored except when you pass plot a single complex argument. For this special case, the command is a shortcut for a graph of the real part versus the imaginary part. Therefore,

where Z is a complex vector or matrix, is equivalent to

For example,

draws a 20-sided polygon with little circles at the vertices. The command axis equal makes the individual tick-mark increments on the x- and y-axes the same length, which makes this plot more circular in appearance.


Previous page  Plotting Lines and Markers Adding Plots to an Existing Graph Next page

© 1994-2005 The MathWorks, Inc.