"Smart"/Silent Figure

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

您现在正在关注此提交

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.

引用格式

Daniel Eaton (2026). "Smart"/Silent Figure (https://ww2.mathworks.cn/matlabcentral/fileexchange/8919-smart-silent-figure), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Graphics Objects 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0