Effacer les filtres
Effacer les filtres

Reset UIAxes to show only the X and Y axis

4 vues (au cours des 30 derniers jours)
Oliver Ferenczi
Oliver Ferenczi le 15 Nov 2019
Commenté : Oliver Ferenczi le 15 Nov 2019
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 :)

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Specifying Target for Graphics Output dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by