필터 지우기
필터 지우기

Reset UIAxes to show only the X and Y axis

조회 수: 4 (최근 30일)
Oliver Ferenczi
Oliver Ferenczi 2019년 11월 15일
댓글: Oliver Ferenczi 2019년 11월 15일
My program uses a single UIAxes graph to show different lines when each button is pressed. However one of them uses a Z axis. This means that when I want to return to the graph with just a X and Y Axis, the Z axis is still there.
I have tried lines like, cla(app.UIAxes). However this does not reset the axis to 2 but only removes the previous line.
Thank you :)

채택된 답변

Cris LaPierre
Cris LaPierre 2019년 11월 15일
You could try the reset function.
reset(app.UIAxes)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by