| Contents | Index |
P = pzoptions
P = pzoption('cstprefs')
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 with the 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.
| Option | Description |
|---|---|
| Title, XLabel, YLabel | Label text and style |
| TickLabel | Tick label style |
| Grid | Show or hide the grid Specified as one of the following strings: 'off' | 'on' Default: 'off' |
| XlimMode, YlimMode | Limit modes |
| Xlim, Ylim | Axes limits |
| IOGrouping | Grouping of input-output pairs Specified as one of the following strings: 'none' |'inputs'|'output'|'all' Default: 'none' |
| InputLabels, OutputLabels | Input and output label styles |
| InputVisible, OutputVisible | Visibility of input and output channels |
| FreqUnits | Frequency units, specified as one of the following strings:
Default: 'rad/s' You can also specify 'auto' which uses frequency units rad/TimeUnit relative to system time units specified in the TimeUnit property. For multiple systems with different time units, the units of the first system are used. |
TimeUnits | Time units, specified as one of the following strings:
Default: 'seconds' You can also specify 'auto' which uses time units specified in the TimeUnit property of the input system. For multiple systems with different time units, the units of the first system is used. |
In this example, you enable the grid option before creating a plot.
P = pzoptions; % Create set of plot options P P.Grid = 'on'; % Set the grid to on in options h = rlocusplot(tf(1,[1,.2,1,0]),P);
The following root locus plot is created with the grid enabled.

getoptions | iopzplot | pzplot | setoptions

Learn more about resources for designing, testing, and implementing control systems.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |