Effacer les filtres
Effacer les filtres

Remove menubar from a figure BUT leaving the toolbar

31 vues (au cours des 30 derniers jours)
Veronica Taurino
Veronica Taurino le 6 Mai 2022
Is there a way to remove the menubar (in red below) from a figure without remove the little toolbar (in blue)?
set(gcf, 'MenuBar', 'none');
removes m both.

Réponses (1)

Jan le 6 Mai 2022
You mention the toolbar of the axes. This should not disappear if you remove the toolbar of the figure.
Which Matlab version are you using? You can control the behavior of the axes toolbars:
  1 commentaire
Veronica Taurino
Veronica Taurino le 13 Mai 2022
Thank you. I used Matlab 2021b. I'm going to try again with 2022a

Connectez-vous pour commenter.


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!

Translated by