How do I reorder the visual stacking order of objects in MATLAB 7.7 (R2008b)?
73 views (last 30 days)
Show older comments
I am trying to change the order of objects in the handle graphics hierarchy. I cannot find a function which does this.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
To change the visual stacking order of objects in a figure, use the UISTACK function. You can move the objects up or down in the hierarchy.
h=get(gca,'Children');
uistack(h(2),'up',1);
The above code moves the second object one place up in the hierarchy.
0 Comments
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!