How do I reorder the visual stacking order of objects in MATLAB 7.7 (R2008b)?
48 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to change the order of objects in the handle graphics hierarchy. I cannot find a function which does this.
Akzeptierte Antwort
MathWorks Support Team
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!