getfig.m

This nifty function retrieves figure windows that have come outside or partially outside the screen.

You are now following this Submission

It has happened mostly to all of us at least once, that a program have created a window that is beyond reach of the mouse pointer thus making it practically impossible to drag down the window or resizing it the conventional way maneouvres with the mouse.

If this should happen in MATLAB (yes, this can actually happen in MATLAB, belive it or not), this little nifty application moves the figure window down to the left bottom corner of the screen making it easy to reach the window list with the mouse for further maneouvres. Optionally you can also tell GETFIG to resize the figure window to a convenient size if it is wider than half the screenwidth or higher than half the screen height.

Cite As

Rasmus Anthin (2026). getfig.m (https://www.mathworks.com/matlabcentral/fileexchange/3828-getfig-m), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0