I am doing a GUI which plots a cube when the user enters the dimension of the cube. But If i keep entering new dimensions, the old cube still stays at the display? Is there any way to delete the previous figure every time when new data is entered?
Ältere Kommentare anzeigen
I am doing a GUI which plots a cube when the user enters the dimension of the cube. But If i keep entering new dimensions, the old cube still stays at the display? Is there any way to delete the previous figure every time when new data is entered?
Akzeptierte Antwort
Weitere Antworten (1)
Ben11
am 7 Jul. 2014
0 Stimmen
Using drawnow would refresh the plot and get rid of the old one; that might do the trick
Kategorien
Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!