setoptions
Set plot options handle or plot options property
Syntax
Description
You can use setoptions
to set the plot handle options or
properties list and use it to customize the plot, such as modify the axes labels, limits and
units. For a list of the properties and values available for each plot type, see Properties and Values Reference (Control System Toolbox). To customize an existing plot using the plot
handle:
Obtain the plot handle
Use
getoptions
to obtain the option setUpdate the plot using
setoptions
to modify the required options
For more information, see Customizing Response Plots from the Command Line (Control System Toolbox).
setoptions(
assigns values to property-value pairs instead of using the plot options handle
h
,'property1','value1',...,'propertyN','valueN')p
. For a list of the properties and values available for each plot
type, see Properties and Values Reference (Control System Toolbox).
setoptions(
first assigns properties using the plot options handle h
,p
,'property1','value1',...,'propertyN','valueN')p
, and then
overrides any properties governed by the specified property-value pairs.. For a list of the
properties and values available for each plot type, see Properties and Values Reference (Control System Toolbox).
Examples
Input Arguments
Version History
Introduced in R2012a
See Also
Topics
- Properties and Values Reference (Control System Toolbox)
- Customizing Response Plots from the Command Line (Control System Toolbox)