GeezerVison is showing octave.sourceforge.io — Function Reference: struct2hdl
- : h = struct2hdl (s)
- : h = struct2hdl (s, p)
- : h = struct2hdl (s, p, hilev)
Construct a graphics handle object h from the structure s.
The structure must contain the fields "handle", "type",
"children", "properties", and "special".
If the handle of an existing figure or axes is specified, p, the new
object will be created as a child of that object. If no parent handle is
provided then a new figure and the necessary children will be constructed
using the default values from the root figure.
A third boolean argument hilev can be passed to specify whether the
function should preserve listeners/callbacks, e.g., for legends or
hggroups. The default is false.
See also: hdl2struct, hgload, findobj.
Package: octave