making a figure always on top
93 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
mohammad
el 17 de Sept. de 2011
Respondida: Adam Danz
el 10 de Mayo de 2021
how could a figure be always on top of other windows?
0 comentarios
Respuesta aceptada
Wayne King
el 17 de Sept. de 2011
If you have a handle to a figure.
h1 = figure;
plot(randn(100,1));
And after you create subsequent plots, you call:
figure(h1)
That will raise the figure above all others.
Wayne
2 comentarios
Más respuestas (2)
Adam Danz
el 10 de Mayo de 2021
Update (10 years later)
Starting in Matlab R2021a you can set figures created by uifigure to always be on top of other windows.
uifig = uifigure('WindowStyle','alwaysontop');
or
uifig = uifigure();
uifig.WindowStyle = 'alwaysontop';
Unlike the modal option, other windows are still accessible.
For more info,
- release notes
- WindowStyle property
0 comentarios
Ver también
Categorías
Más información sobre Develop uifigure-Based Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!