nicholsoptions - Create list of Nichols plot options

Syntax

P = nicholsoptions
P = nicholsoptions('cstprefs')

Description

P = nicholsoptions returns a list of available options for Nichols plots with default values set. You can use these options to customize the Nichols plot appearance from the command line.

P = nicholsoptions('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 Nichols 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 units
MagLowerLimMode [auto|manual]Enables a lower magnitude limit
MagLowerLimSpecifies the lower magnitude limit
PhaseUnits [deg|rad]Phase units
PhaseWrapping [on|off]Enables phase wrapping
PhaseMatching [on|off]Enables phase matching
PhaseMatchingFreqFrequency for matching phase
PhaseMatchingValueThe value to make the phase responses close to

Examples

In this example, you set the phase units and enable the grid option for the Nichols plot.

P = nicholsoptions; % Set phase units to radians and grid to on in options
P.PhaseUnits = 'rad';
P.Grid = 'on'; % Create plot with the options specified by P
h = nicholsplot(tf(1,[1,.2,1,0]),P);

The following Nichols plot is created, with the phase units in radians and the grid enabled.

See Also

getoptions, nicholsplot, setoptions

  


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