"Smart"/Silent Figure

Version 1.0.0.0 (302 Bytes) by Daniel Eaton
Create or switch to a figure without it stealing focus from other windows.
4.4K Downloads
Updated 3 Nov 2005

No License

In Windows, MATLAB R14's FIGURE behaviour can be annoying. Namely, whenever we invoke figure/figure(X), it immediately jumps to the foreground, and steals focus from whatever other window was active, preventing you from switching to other processes, the MATLAB editor window, etc... (if you are repeatedly switching between figures/displaying results in a loop). This wrapper to figure makes FIGURE silent -- ie. if you had figure X in the background, then the call figure(X) will keep that figure in the background.

Cite As

Daniel Eaton (2024). "Smart"/Silent Figure (https://www.mathworks.com/matlabcentral/fileexchange/8919-smart-silent-figure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Objects in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0