Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

Objects That Can Contain Other Objects

Certain graphics objects can contain other objects. Consider a graph, for example. In a graph, an object like a line represents data . 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 looks like the next figure.

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

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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS