Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK 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
May 5, 2006
1
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?
 
Replies continue below

Recommended for you

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