%% Customized Nichols Plot of Transfer Function
% For this example, create a Nichols plot of the following continuous-time SISO dynamic system. Then, turn the grid on and rename the plot.
% sys(s) = \frac{{{s^2} + 0.1s + 7.5}}{{{s^4} + 0.12{s^3} + 9{s^2}}}.
% Create the transfer function sys.

sys = tf([1 0.1 7.5],[1 0.12 9 0 0]);

% Next, create the options set using nicholsoptions and change the required plot properties.

plotoptions = nicholsoptions;
plotoptions.Grid = 'on';
plotoptions.Title.String = 'Nichols Plot of Transfer Function';

% Now, create the Nichols plot with the custom option set plotoptions.

nicholsplot(sys,plotoptions)

% nicholsplot automatically selects the plot range based on the system dynamics.
% Copyright 2021 The MathWorks, Inc.