Graphics |
Specifying the Target for Graphics Output
By default, MATLAB functions that create graphics objects display them in the current figure and current axes (if an axes child). You can direct the output to another parent by explicitly specifying the Parent
property with the creating function. For example,
Many plotting functions accept an axes handle as the first argument as well.
where axes_handle is the handle of the target axes. The uicontrol
and uimenu
functions have a convenient syntax that enables you to specify the parent as the first argument,
or you can set the Parent
property.
Controlling Graphics Output | Preparing Figures and Axes for Graphics |
© 1994-2005 The MathWorks, Inc.