undecorateFig - remove/restore figure border and title bar

Removes/restores the border and title bar of Matlab figures
1,7K Downloads
Aktualisiert 20. Mär 2015

Lizenz anzeigen

Description:
undecorateFig removes the border, title bar, menu bar and toolbar of a Matlab figure.
redecorateFig restores the figure to its previous (decorated) state.

Syntax:
undecorateFig(hFig) % hFig is a figure handle or any other GUI handle (default: current figure)
redecorateFig(hFig)

Technical details:
http://undocumentedmatlab.com/blog/frameless-undecorated-figure-windows

Warning:
This code heavily relies on undocumented and unsupported Matlab functionality. It is expected to work on Matlab 7 and higher, but use at your own risk!

Zitieren als

Yair Altman (2024). undecorateFig - remove/restore figure border and title bar (https://www.mathworks.com/matlabcentral/fileexchange/50111-undecoratefig-remove-restore-figure-border-and-title-bar), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Removed annoying Matlab warning that "figure JavaFrame property will be obsoleted in a future release"

1.0.0.0