MATLAB Function Reference | ![]() ![]() |
Syntax
Description
uistack
enables you to change the stacking order of objects.
uistack(h, stackopt)
moves h
in the stacking order, where stackopt
is one of the following:
'up'
- moves h
up one position in the stacking order
'down'
- moves h
down one position in the stacking order
'top'
- moves h
to the top of the current stack
'bottom'
- moves h
to the bottom of the current stack
uistack(h, 'up', n)
moves h
up n
steps
uistack(h, 'down', n)
moves h
down n
steps
Example
The following code moves the child that is third in the stacking order of the figure handle hObjec
t down two positions.
See Also
![]() | uisetfont | undocheckout | ![]() |