Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: gname problem
Posted:
May 22, 2013 4:53 PM


> I've forgotten to add: > gname(1:10, h1); % returns the wrong handle
I just tried this. If I type
hh = gname(1:10, h1);
and then I click points on the plot, only point with handles in h1 get labeled. The return value hh is a vector of handles to the text labels. So for example,
set(hh,'color','m')
turns the text magenta. This appears to be working correctly. What do you see that seems wrong?
 Tom



