Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Data cursor coordinates
Date: Wed, 30 Sep 2009 23:30:36 +0000 (UTC)
Organization: Xoran Technologies
Lines: 10
Message-ID: <ha0pms$bhc$1@fred.mathworks.com>
References: <ha0j5l$n43$1@fred.mathworks.com> <ha0kj3$rkp$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254353436 11820 172.30.248.35 (30 Sep 2009 23:30:36 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 30 Sep 2009 23:30:36 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:574085


"Dave Brackett" <davebrackett@hotmail.com> wrote in message <ha0kj3$rkp$1@fred.mathworks.com>...

> You can customise the datatip. Right click on a datatip in the figure and go to 'edit text update function'. You can then edit the callback to return whatever you want in the output_txt variable.
============

Thanks a lot (you too, Matt).

But this raises a few more questions (you'll have to bear with me, I don't do a lot of graphics programming and so I'm not very conversant with notions of events and callbacks). 

The old call back function gets used whenever I open a new figure. How do I make it so that my custom callback is always used? How would I later restore the factory default?