How to disable interactive icons on Matlab plots within App Designer?

Every time after a Matlab plot is created, if you hover your mouse cursor to the upper right side of it, you will see small icons, of printer, pan, zoom in, zoom out, etc. My goal is to disable that within App-designer.
I tried to use
disableDefaultInteractivity(app.Plot1);
However, it has not been working. What is the correct way to disable this function, so that none of these icons will show up to the plots at all?
Thanks.

 採用された回答

dpb
dpb 2025 年 8 月 15 日
app.Plot1.Toolbar.Visible = 'off';

2 件のコメント

Leon
Leon 2025 年 8 月 15 日
It works. Many thanks
dpb
dpb 2025 年 8 月 16 日
No problem...new one to me, too...

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索

製品

リリース

R2025a

質問済み:

2025 年 8 月 15 日

コメント済み:

dpb
2025 年 8 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by