"hold on" equivalent in GUIDE
Ältere Kommentare anzeigen
Hello all,
When I update my plot in GUIDE, the imline lines that were previously defined disappear. Is there a way to make them permanent by using an equivalent of "hold on"? Or do I have to re-plot, everything, every time I change something to my plot? Thank you in advance!
2 Kommentare
Arvind Narayanan
am 2 Mär. 2018
Adam
am 2 Mär. 2018
What do you mean by 'when I update my plot in GUIDE'? GUIDE is just a GUI design tool, it doesn't run anything or include plots in it.
Akzeptierte Antwort
Weitere Antworten (1)
Rik
am 2 Mär. 2018
1 Stimme
You should always specify the axes you want to affect, so you can use hold(handles.ax,'on').
GUIDE is just a shell around 'normal' Matlab, so anything that works as a function should work in a function created by GUIDE as well.
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!