|
I have a 3d plot. In each cycle i use the text command to place a number in the center of the plot.
The problem is that only the 1st number shows up, it wont replace on subsequent cycles.
In other cycles, if the number is larger than the previous one, the last digits will show up in the end of the 1st number, so i know i am really doing a another text command...
text(xo,yo,zo,num2str(distance),'BackgroundColor',[1 1 1],'FontSize',20);
How can i delete the previous text, without closing the window (i have a hold on, to keep points from previous cycles)?
Thank You
|