How to redraw 3D figure having controls without disturbing controls?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
David Pesetsky
am 31 Mai 2016
Kommentiert: David Pesetsky
am 31 Mai 2016
Hi folks,
I have a 3D figure on which I placed some popup menus. The plot is a function of whatever the user pulls down from the popups, so how do I redraw the whole figure to update it (using a function), without destroying the figure, or creating many duplicate figures?
Thank you for helping me.
Dave
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 31 Mai 2016
Once you have a surf or plot3, to draw the new plot, update the XData, YData, ZData properties of the graphics object.
Or at most use cla() to clear the axes. Do not use clf().
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!