The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 858
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,


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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.