Skip to Main Content Skip to Search
Product Documentation

getoptions - Return @PlotOptions handle or plot options property

Syntax

p = getoptions(h)
p = getoptions(h,propertyname)

Description

p = getoptions(h) returns the plot options handle associated with plot handle h. p contains all the settable options for a given response plot.

p = getoptions(h,propertyname) returns the specified options property, propertyname, for the plot with handle h. You can use this to interrogate a plot handle. For example,

p = getoptions(h,'Grid') 

returns 'on' if a grid is visible, and 'off' when it is not.

For a list of the properties and values available for each plot type, see Properties and Values Reference.

See Also

setoptions

  


Free Control Systems Interactive Kit

Learn more about resources for designing, testing, and implementing control systems.

Get free kit

Trials Available

Try the latest control systems products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS