Specifications
3 Laying Out GUIs and Setting Properties
3-38
Front-to-Back Positioning
MATLAB figures maintain separate stacks that control the front-to-back
positioning for different kinds of components:
• User interface controls such as buttons, sliders, and pop-up menus
• Panels, button groups, and axes
• ActiveX controls
You can control the front-to-back positioning of components that overlap only
if those components are in the same stack. For overlapping components that
are in different stacks:
• User interface controls always appear on top of panels, button groups, axes,
and ActiveX controls they overlap.
• Panels, button groups, and axes always appear on top of ActiveX controls.
Guide lines used for horizontal
alignment
Click on the top or left ruler
and drag the guide to the
desired position
Guide line used for vertical
alignment