Remove menubar from a figure BUT leaving the toolbar

Is there a way to remove the menubar (in red below) from a figure without remove the little toolbar (in blue)?
Using
set(gcf, 'MenuBar', 'none');
removes m both.

Answers (1)

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 Comment

Thank you. I used Matlab 2021b. I'm going to try again with 2022a

Sign in to comment.

Asked:

on 6 May 2022

Commented:

on 13 May 2022

Community Treasure Hunt

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

Start Hunting!