| Control System Toolbox™ | ![]() |
P = nicholsoptions
P = nicholsoptions('cstprefs')
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.
| Option | Description |
|---|---|
| Title, XLabel, YLabel | Label text and style |
| TickLabel | Tick label style |
| Grid [off|on] | Show or hide the grid |
| XlimMode, YlimMode | Limit modes |
| Xlim, Ylim | Axes limits |
| IOGrouping [none|inputs|output|all] | Grouping of input-output pairs |
| InputLabels, OutputLabels | Input and output label styles. |
| InputVisible, OutputVisible | Visibility of input and output channels |
| FreqUnits [Hz|rad/s] | Frequency units |
| MagLowerLimMode [auto|manual] | Enables a lower magnitude limit |
| MagLowerLim | Specifies the lower magnitude limit |
| PhaseUnits [deg|rad] | Phase units |
| PhaseWrapping [on|off] | Enables phase wrapping |
| PhaseMatching [on|off] | Enables phase matching |
| PhaseMatchingFreq | Frequency for matching phase |
| PhaseMatchingValue | The value to make the phase responses close to |
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.

getoptions, nicholsplot, setoptions
![]() | nichols | nicholsplot | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |