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

조회 수: 4 (최근 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';

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop 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