Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Introduced before R2006a

Was this topic helpful?