Remove menubar from a figure BUT leaving the toolbar

조회 수: 22 (최근 30일)
Veronica Taurino
Veronica Taurino 2022년 5월 6일
댓글: Veronica Taurino 2022년 5월 13일
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:
  댓글 수: 1
Veronica Taurino
Veronica Taurino 2022년 5월 13일
Thank you. I used Matlab 2021b. I'm going to try again with 2022a

댓글을 달려면 로그인하십시오.

카테고리

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