You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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');
Cite As
Rafael Oliveira (2026). Let me work, figure! (https://uk.mathworks.com/matlabcentral/fileexchange/33987-let-me-work-figure), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: "Smart"/Silent Figure
General Information
- Version 1.0.0.0 (1.13 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
