Remove menubar from a figure BUT leaving the toolbar

24 次查看(过去 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:

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by