Erasing Text
Erasing Text
(OP)
I am creating a GUI where there are numerous images displayed one after another. I am using the text(x,y,'string') command to add text to the axes, but when I load the next image, I want this text to be removed. Does anyone know the command for erasing/deleting/clearing the text from the axes?





RE: Erasing Text
h = text(x,y,'string')
you can then delete it with
delete(h)
M
--
Dr Michael F Platten