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.

 Réponse acceptée

app.Plot1.Toolbar.Visible = 'off';

2 commentaires

It works. Many thanks
No problem...new one to me, too...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Produits

Version

R2025a

Question posée :

le 15 Août 2025

Commenté :

dpb
le 16 Août 2025

Community Treasure Hunt

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

Start Hunting!

Translated by