Documentation Center

  • Trial Software
  • Product Updates

pzplot

Pole-zero map of dynamic system model with plot customization options

Syntax

h = pzplot(sys)
pzplot(sys1,sys2,...)
pzplot(AX,...)
pzplot(..., plotoptions)

Description

h = pzplot(sys) computes the poles and (transmission) zeros of the dynamic system model sys and plots them in the complex plane. The poles are plotted as x's and the zeros are plotted as o's. It also returns the plot handle h. You can use this handle to customize the plot with the getoptions and setoptions commands. Type

help pzoptions 

for a list of available plot options.

pzplot(sys1,sys2,...) shows the poles and zeros of multiple models sys1,sys2,... on a single plot. You can specify distinctive colors for each model, as in

pzplot(sys1,'r',sys2,'y',sys3,'g') 

pzplot(AX,...) plots into the axes with handle AX.

pzplot(..., plotoptions) plots the poles and zeros with the options specified in plotoptions. Type

help pzoptions 

for more detail.

The function sgrid or zgrid can be used to plot lines of constant damping ratio and natural frequency in the s- or z-plane.

For arrays sys of dynamic system models, pzmap plots the poles and zeros of each model in the array on the same diagram.

Examples

Use the plot handle to change the color of the plot's title.

sys = rss(3,2,2);
h = pzplot(sys);
p = getoptions(h); % Get options for plot.
p.Title.Color = [1,0,0]; % Change title color in options.
setoptions(h,p); % Apply options to plot.

More About

expand all

Tips

You can change the properties of your plot, for example the units. For information on the ways to change properties of your plots, see Ways to Customize Plots.

See Also

| | |

Was this topic helpful?