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.

回答 (1 件)

Jan
Jan 2022 年 5 月 6 日

0 投票

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 件のコメント

Veronica Taurino
Veronica Taurino 2022 年 5 月 13 日
Thank you. I used Matlab 2021b. I'm going to try again with 2022a

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Graphics Object Properties についてさらに検索

質問済み:

2022 年 5 月 6 日

コメント済み:

2022 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by