1 Answer
1

but I need to clean the figure before plotting the next frame, any replacement to clean that instead?
–
user1285419Feb 19 '13 at 7:22

Have you even tried ? if you don't use hold on or similar you don't need to clear the figure. Every time you plot the figure data is cleared. As for the annotation, you overwrite it, so what's the problem here?
–
blaFeb 19 '13 at 7:31

Yes. For this one, I didn't need to clear that. What just like what you said, if I extend it to something need hold on and without clf('reset'), how to clean the figure Thanks
–
user1285419Feb 19 '13 at 7:34

oh, I just figure that I could use hold off to clean the figure also, sorry for that :)
–
user1285419Feb 19 '13 at 7:34