Let me work, figure!

Fig replaces the built-in figure without stealing your focus. Setting properties is also available.
636 Downloads
Aktualisiert 29. Nov 2011

Lizenz anzeigen

For everyone that needs to plot something in a long loop, and still wants to use the computer in meanwhile, without new figures stealing your keyboard focus and disrupting your work-flow, this file emulates the built-in figure command, but if the desired figure handle already exists, it will just set it as the current figure, without making it visible or on top of other windows.

It's the same as issuing a set(0,'CurrentFigure',h) command, but encapsulated using the same syntax as figure.

Usage:

fig(123);
fig(456, 'Name', 'Figure Title');
h = fig('Name', 'New figure');
fig(h, 'Name', 'New Name');

Zitieren als

Rafael Oliveira (2024). Let me work, figure! (https://www.mathworks.com/matlabcentral/fileexchange/33987-let-me-work-figure), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2010a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: "Smart"/Silent Figure

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0