| Mapping Toolbox | Search  Help Desk |
| restack | Examples See Also |
Re-stack objects within the axes
Syntax
restack(h,position)
Description
restack(h,position) changes the stacking position of the object h within the axes. h can be a handle, a vector of handles to graphics objects, or a name string recognized by handlem. Recognized position strings are 'top', 'bottom', 'bot', 'up' or 'down'.
Examples
Re-stack the patch objects of California and Texas to lie above the U.S.axesm miller
load usalo
h = displaym(state,'california');
displaym(state,'texas');
displaym(conus)
restack(h,'top')
restack('Texas','top')

Remarks
This function is the command-line equivalent of the stacking buttons in themobjects graphical user interface. The stacking order is the order of the children of the axes.
See Also
mobjects |
GUI for manipulating objects displayed on an axes |