Remove menubar from a figure BUT leaving the toolbar

25 Ansichten (letzte 30 Tage)
Veronica Taurino
Veronica Taurino am 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.

Antworten (1)

Jan am 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 Kommentar
Veronica Taurino
Veronica Taurino am 13 Mai 2022
Thank you. I used Matlab 2021b. I'm going to try again with 2022a

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by