Matlab - updating objects on a plot
问题 I am trying to add a timer a simulation i am working on. At the moment i can get the timer to display in the location i want, however i cant make the numbers clear each other, i.e they all just stack on top of each other slowly creating a solid black mess. I have tried implementing a clf function but it just clears the entire figure. The code for the timer is: HH = 0; MM = 0; SS = 0; timer = sprintf('%02d:%02d:%02d',HH,MM,SS); text(-450,450,timer); %% adjust location of clock in graph using