"Smart"/Silent Figure

Create or switch to a figure without it stealing focus from other windows.

Vous suivez désormais cette soumission

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.

Citation pour cette source

Daniel Eaton (2026). "Smart"/Silent Figure (https://fr.mathworks.com/matlabcentral/fileexchange/8919-smart-silent-figure), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Graphics Objects dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0