You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Had issues where my figures would open outside of the screen - especially in cases where i stored figures in a .mat file to keep them together with the data. This function provides an easy and quick-to-use method of centering figures on the screen of your choosing.
Usage:
centerFigures()
centerFigures(screenNum,scaling)
where
screenNum is the screen number recognized by windows,
scaling is the factor for which the size of the figure windows should be scaled. For unscaled repositioning, use scaling=1 or omit it entirely.
Centers all open figures on specified screen number (for multiple displays).
Added an optional scaling factor for quick resizing of figures.
Cite As
Rasmus Elbæk Hedegaard (2026). centerFigures (https://www.mathworks.com/matlabcentral/fileexchange/72575-centerfigures), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.32 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
