www.gusucode.com > control 案例程序 matlab源码代码 > control/SetOptionsForNicholsPlotExample.m

    %% Set Options for Nichols Plot
% 
%%
% Create an options set, and set the phase units and grid option.

% Copyright 2015 The MathWorks, Inc.

P = nicholsoptions; 
P.PhaseUnits = 'rad';
P.Grid = 'on'; 
%%
% Use the options set to generate a Nichols plot.  Not the phase units and
% grid in the plot.
h = nicholsplot(tf(1,[1,.2,1,0]),P);