setoptions
(Not recommended) Set options for linear analysis plot object
setoptions
is not recommended. Set plot options by accessing chart
object properties using dot notation. For more information, see Version History.
setoptions
is still recommended for idplot
and
spectrumplot
. For more information, see setoptions
.
Description
setoptions(
specifies one
or more plot options using name-value arguments. For example,
plotobj
,Name=Value)setoptions(bp,PhaseUnit="rad")
sets the phase units of Bode plot
bp
to radians.
To see the supported options for a specific plot type, see the corresponding option
object page indicated in opts
.
Examples
Input Arguments
Alternative Functionality
You can also set property values of linear analysis plot objects using dot notation. For example, set the phase units for a Bode plot to radians.
bp = bodeplot(sys);
bp.PhaseUnits = "rad";