MATLAB: “hold on” equivalent in GUIDE

guidehandles.axeshold onMATLAB

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!

Best Answer

Just to clarify, I had my imline plotted on some axes, then I would plot an image on these axes, and my imline would "disappear". It turns out that it was still there, only hidden behind the image.
Adding something like
uistack(imline_handle,'top')
solved it!
Thank you all for your help!