Next: Object Groups, Previous: Callbacks, Up: Advanced Plotting [Contents][Index]

#### 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.

  See also: getappdata, guidata, get, set, getpref, setpref.

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

  Return the value for named application data for the object(s) with handle(s) h.

  `getappdata(h)` returns a structure, appdata, whose fields correspond to the appdata properties.

  See also: setappdata, guidata, get, set, getpref, setpref.

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.