%% Sigma Plot with Specified Frequency Scale and Units
% For this example, consider a MIMO state-space model with 3 inputs, 3 outputs and 3 states. Create a sigma plot with linear frequency scale, frequency units in Hz and turn the grid on.
% Create the MIMO state-space model sys_mimo.

J = [8 -3 -3; -3 8 -3; -3 -3 8];
F = 0.2*eye(3);
A = -J\F;
B = inv(J);
C = eye(3);
D = 0;
sys_mimo = ss(A,B,C,D);
size(sys_mimo)

% Create a sigma plot with plot handle h and use getoptions for a list of the options available.

h = sigmaplot(sys_mimo);
p = getoptions(h)

%
% Use setoptions to update the plot with the requires customization.

setoptions(h,'FreqScale','linear','FreqUnits','Hz','Grid','on');

% The sigma plot automatically updates when you call setoptions.
% Copyright 2021 The MathWorks, Inc.