Graphics Previous page   Next Page

Group Objects

Group objects enable you to treat a number of axes child objects as one group. For example, you can make the entire group visible or invisible, select all objects when only one is clicked, or apply a transform matrix to reposition the objects by setting only one property on the group object.

There are two group objects:

Note that the difference between the hggroup and hgtransform objects is ability of the hgtransform object to apply a transform matrix (via its Matrix property) to all objects for which it is the parent.

Creating a Group

You create a group by parenting axes children to an hggroup or hgtransform object. For example,

Group objects can be the parent of any number of axes children, including other group objects.


Previous page  Annotation Objects Transforming Objects Next page

© 1994-2005 The MathWorks, Inc.