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.
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.
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.
Delete the named application data for the object(s) with handle(s) h.
Return true if the named application data, name, exists for the object with handle h.
See also: getappdata, setappdata, rmappdata.