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

8 Ansichten (letzte 30 Tage)
Leon
Leon am 15 Aug. 2025
Kommentiert: dpb am 16 Aug. 2025
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.

Akzeptierte Antwort

dpb
dpb am 15 Aug. 2025
app.Plot1.Toolbar.Visible = 'off';

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by