pzoptions - Create list of pole/zero plot options

Syntax

P = pzoptions
P = pzoption('cstprefs')

Description

P = pzoptions returns a list of available options for pole/zero plots (pole/zero, input-output pole/zero and root locus) with default values set.. You can use these options to customize the pole/zero plot appearance from the command line.

P = pzoption('cstprefs') initializes the plot options you selected in the Control System Toolbox Preferences Editor. For more information about the editor, see Toolbox Preferences Editor in the User's Guide documentation.

This table summarizes the available pole/zero plot options.

OptionDescription
Title, XLabel, YLabelLabel text and style
TickLabelTick label style
Grid [off|on]Show or hide the grid
XlimMode, YlimMode Limit modes
Xlim, YlimAxes limits
IOGrouping [none|inputs|output|all] Grouping of input-output pairs
InputLabels, OutputLabels Input and output label styles
InputVisible, OutputVisibleVisibility of input and output channels
FreqUnits [Hz|rad/s]Frequency uits

Examples

In this example, you enable the grid option before creating a plot.

 P = pzoptions; % Set the grid to on in options
 P.Grid = 'on'; % Create plot with the options specified by P
 h = rlocusplot(tf(1,[1,.2,1,0]),P); 

The following root locus plot is created with the grid enabled.

See Also

getoptions, iopzplot, pzplot, setoptions

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS