MATLAB Answers

Reset UIAxes to show only the X and Y axis

4 views (last 30 days)
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 :)

  0 Comments

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 15 Nov 2019
You could try the reset function.
reset(app.UIAxes)

  1 Comment

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags