getoptions
(Not recommended) Get options for linear analysis plot object
getoptions
is not recommended. Set plot options by accessing chart
object properties using dot notation. For more information, see Version History.
getoptions
is still recommended for idplot
and
spectrumplot
. For more information, see getoptions
(System Identification Toolbox).
Description
returns the options for the plot associated with linear analysis chart object
opts
= getoptions(plotobj
)plotobj
.
You can use
opts
when creating new plots of the same type asplotobj
.To customize an existing plot, you can modify
opts
and then use the resulting options object withsetoptions
.
Examples
Input Arguments
Output Arguments
Alternative Functionality
You can also obtain property values of linear analysis plot objects using dot notation. For example, obtain the phase units for a Bode plot.
bp = bodeplot(sys); phaseUnits = bp.PhaseUnits;