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

2 ビュー (過去 30 日間)
Leon
Leon 2025 年 8 月 15 日
コメント済み: dpb 2025 年 8 月 16 日
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 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by