Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: gname problem
Replies: 7   Last Post: May 23, 2013 9:01 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Tom Lane

Posts: 855
Registered: 12/7/04
Re: gname problem
Posted: May 22, 2013 4:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> 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




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.