This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Return @PlotOptions handle or plot options property


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


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

Introduced before R2006a