Figure no longer comes with MenuBar and tools the

40 ビュー (過去 30 日間)
Ornit
Ornit 2024 年 5 月 22 日
コメント済み: Ornit 2024 年 5 月 29 日
Recently, without a concious change on my part, my figures lack the MenuBar and the icons underneath it. I would like my figure to have the components highlighted in yellow in the attached screen capture, by default, as they have always been for me.
The missing components started happening when I open a saved *.fig, but sometimes also when plotting "fresh". I restarted my PC thinking it may help, but it had not.
I discovered I can return the menubar to each figure by "set(gcf, 'MenuBar', 'figure')". I have not discovered how to return the icons.Can you please help making the image below the default to all figures?
Thanks!

回答 (1 件)

Voss
Voss 2024 年 5 月 23 日

You can try

set(groot,'defaultFigureMenubar','figure')
set(groot,'defaultFigureToolbar','figure')

to have the menu bar and tool bar show up by default in new figures.

  8 件のコメント
Voss
Voss 2024 年 5 月 29 日
I would contact Tech Support for help with those errors:
Ornit
Ornit 2024 年 5 月 29 日
Good idea. Will do. Thanks!

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

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by