Main Content


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