aot

Makes the current figure/gui stay on top of all other figures(allways on top, AOT)
936 download
Aggiornato 15 lug 2008

Nessuna licenza

% function aot(mode, guiname)
% Makes the current figure stay on top of all other figures(allways on top, aot)
% and adds a pushtool to the figure toolbar. With the pushtool the aot-mode
% can be changed. Also works for guis and those without a toolbar.
% for a gui without toolbar use the commandline to change the aot-mode
%
% USAGE:
% aot(mode, guiname)
% inputs:
% mode [0,1] : normal mode or allways on top
% guiname: full or partial name of the GUI *** not needed for figures ***
%
% EXAMPLES:
% %__ FIGURES _____
% figure; plot(sin(1:30));aot; % adds a AlwaysONtop-pushtool
%
% aot(1); % Fig is AlwaysONtop
% aot ; %%[same as] aot(0) % FIG is in NORMAL mode [not AOT ]
%
% %__ GUIS _____
% wrldtrv; aot(1,'World') ; % GUI is AOT
% aot(0,'World') ; % GUI is in NORMAL mode [not AOT ]
%
% %% another example
% h = waitbar(0,'Please wait...','name','wb');
% figure;
% set(gcf,'position',[1 65 1400 912]);
% aot(1,'wb');
% plot(rand(100));
% for i=1:50,
% plot(1:100, rand(100,1),'color','r','linewidth',2);
% pause(.1);
% waitbar(i/50,h);
% end
%
% needed file:
% [1] aot.exe ,this file was created with the open-source software AUTOHOTKEY
% (Version 1.0.47.06, Chris Malletts, www.autohotkey.com).
% tested on MATLAB Version 7.4.0.287 (R2007a) and MATLAB Version
% 6.5.0.180913a (R13) under OS Microsoft Windows XP Version 5.1 /SP2
% ----------------------------------------------------------------------
% Author: S.P.Koch, BNIC 2008 [paulekoch@ymail.com]
% ----------------------------------------------------------------------

Cita come

PAUL koch (2025). aot (https://it.mathworks.com/matlabcentral/fileexchange/20694-aot), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su App Building in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0