hggroup
Create group object.
📝Syntax
h = hggroup()
h = hggroup(..., propertyName, propertyValue, ...)
h = hggroup(ax, ...)
📥Input Arguments
Parameter Description
ax graphics object: axes or hggroup.
propertyName a scalar string or row vector character.
propertyValue a value.
📤Output Arguments
Parameter Description
p a graphics object of type: hggroup
📄Description

hggroup creates a hggroup object as a child of the current axes and returns its handle, h.

The hggroup object is used to group graphics objects, such as lines, patches, and text, so that they can be manipulated together.

See hggroup properties for the complete property list.

💡Examples
figure();
ax = gca();
g = hggroup();
h = text(0.1, 0.1, 'tttt', 'Parent', g);
h.Parent
h.Visible
h.Visible = 'off';
🔗See Also
hggroup propertiesgca
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub