Next: Object Groups, Previous: Callbacks, Up: Advanced Plotting

#### 15.4.5 Application-defined Data

Octave has a provision for attaching application-defined data to a graphics handle. The data can be anything which is meaningful to the application, and will be completely ignored by Octave.

— Function File: setappdata (h, name, value)

> Set the named application data to value for the object(s) with handle(s) h. If the application data with the specified name does not exist, it is created.

— Function File: value = getappdata (h, name)

> Return the value for named application data for the object(s) with handle(s) h. — Function File: appdata = getappdata (h)

> > Return a structure, appdata, whose fields correspond to the appdata properties.

— Function File: rmappdata (h, name)

> Delete the named application data for the object(s) with handle(s) h.

— Function File: V = isappdata (h, name)

> Return true if the named application data, name, exists for the object with handle h.

> See also: getappdata, setappdata, rmappdata.