Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Erasing Text

Status
Not open for further replies.

makryger

Bioengineer
Joined
May 5, 2006
Messages
1
Location
US
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?
 
When you create the text object, assign its handle to a variable

h = text(x,y,'string')

you can then delete it with

delete(h)



M

--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top