delete the figure header ?
69 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Max Müller
le 4 Sep 2014
Réponse apportée : Eran Bernstein
le 19 Oct 2021
Hey Guys, me again. Is it possible to delete the header of a figure. by header I mean the area where the name of the figure and the cross the close the figure are. I just want a empty figure....without anything. I use 'MenuBar', 'None' to delete the menuBar but its not empty enough.
2 commentaires
Hikaru
le 4 Sep 2014
Not sure if I understood your question, you might want to show pictures here.
But if you just want an empty figure (just the plot area/without the menu bar) you could use Edit >> Copy figure and paste it somewhere else
Réponse acceptée
Adam
le 4 Sep 2014
I don't think you can have a figure without the title bar. It's pretty much a common part of any application window in Windows, nevermind just a Matlab figure.
You can get rid of the default figure number with:
figure('MenuBar', 'None', 'NumberTitle', 'off')
but you still get the title bar with minimize, maximize etc.
Plus de réponses (1)
Eran Bernstein
le 19 Oct 2021
Got the same problem and fixed it by editing 'WindowState' to fullscreen after removing the menu bar. It's does a similar effect to pressing F11 in Chrome and other programs and pressing 'Esc' afterwards exits fullscreen mode and reverts 'WidowState' back to normal.
fig = figure('MenuBar','none');
fig.WindowState = 'fullscreen';
0 commentaires
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!