필터 지우기
필터 지우기

Plot clear using MATLAB app designer.

조회 수: 91 (최근 30일)
Othman Alkandri
Othman Alkandri 2023년 1월 20일
댓글: Othman Alkandri 2023년 1월 20일
Hello,
I am trying to clear the UIAxies using a push button. Once the user clicks the button, it should remove the axis limitations and labels. I used the following command.
function plotclearButtonPushed(app, event)
cla(app.UIAxes)
end
The clear button erases the plot. However, it doesn't reset the UIAxes by removing the legend and the axis limation. Is there a better command to use?

채택된 답변

Voss
Voss 2023년 1월 20일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by