Graphics Previous page   Next Page

Objects That Can Contain Other Objects

Certain graphics objects can contain other objects. Consider a graph for example. In a graph, data is represented by an object like a line. Normally, the parent of the line is an axes (i.e., the handle of the line's Parent property is set to the handle of the axes that contains it). A figure is normally the parent of an axes. A typical object diagram of a graph would look like this:

When graphs become more complicated and represent data with multiple objects, it can be useful to group these objects together so you can perform operations on the group as a whole.

These sections discuss how to use two container objects that group axes children within a graph and user interface components within a figure.


Previous page  Properties Changed by Built-In Functions Using Panel Containers in Figures -- UIPanels Next page

© 1994-2005 The MathWorks, Inc.