Remove menubar from a figure BUT leaving the toolbar

14 次查看(过去 30 天)
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.

回答(1 个)

Jan
Jan 2022-5-6
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:

Community Treasure Hunt

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

Start Hunting!

Translated by