image thumbnail


version (581 Bytes) by Rasmus Anthin
This nifty function retrieves figure windows that have come outside or partially outside the screen.


Updated 12 Aug 2003

translation missing:

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 (2022). getfig.m (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!