Maximize the figure window (multiple strategies implemented)
Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
This function tries multiple solutions for maximizing the figure window, so it should work on nearly all releases of Matlab and Octave on nearly all OSes (Windows/Mac/Unix). This is written to be portable and shareable. If you know more solutions, please contact me, so I can add it to the list.
1 attempt to set the WindowState property to maximized
2 use JavaFrame to maximize the figure
3 press alt-space followed by x (Windows/Linux hotkey)
4 ugly solution: set the position to the screen size minus a small margin (this includes an attempt to check for a multiple monitor set up)
Licence: CC by-nc-sa 4.0
For the British English searchers:
maximise figure window
Logo taken from: https://pixabay.com/vectors/screen-gui-window-magnify-maximize-39107/
Citation pour cette source
Rik (2026). maximize (https://github.com/thrynae/maximize/releases/tag/1.2.1), GitHub. Extrait(e) le .
Informations générales
- Version 1.2.1 (3,23 ko)
-
Afficher la licence sur GitHub
Compatibilité avec les versions de MATLAB
- Compatible avec les versions R13SP1 et ultérieures
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.2.1 | See release notes for this release on GitHub: https://github.com/thrynae/maximize/releases/tag/1.2.1 |
||
| 1.2.0.0 | added WindowState option |
||
| 1.1.0.0 | updated alt-space X method |
||
| 1.0.0.0 |
