Kate J.
Posts:
167
Registered:
6/9/11
|
|
Re: Problem with clearing text from axes
Posted:
Jan 15, 2013 3:03 PM
|
|
Thanks for your help, Bruno. The code that I finally got to work is:
if(iteration == 0) taskNumHandle = text(0.3,0.6,sprintf('Task #%d',taskNumber+1),'Tag','Task String'); end if(iteration == endCondition) delete(findobj(gca,'Tag','Task String')); end
Using delete(taskNumHandle) never ended up working for me, although it should have?
|
|