Path: news.mathworks.com!not-for-mail
From: "Daphne " <daphnew_too_nospam@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Datatip (Datacursormode)
Date: Fri, 9 May 2008 06:29:07 +0000 (UTC)
Organization: Technion
Lines: 23
Message-ID: <g00qvj$4gu$1@fred.mathworks.com>
Reply-To: "Daphne " <daphnew_too_nospam@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210314547 4638 172.30.248.37 (9 May 2008 06:29:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 May 2008 06:29:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1066798
Xref: news.mathworks.com comp.soft-sys.matlab:467544



A few questions on adding datatips programmatically. 

I have some noisy, log-plot data that goes into a complex 
(multi-axes) GUI and using a code that we wrote, we 
automatically detect areas where we can fit straight lines 
(in the log world). I would like to mark the start and end 
of those lines with data tips programmatically. That way 
if the user wants to manually change them, they have a 
starting point of already present tips. 

Another related question, is there a way to move the data 
tips' flag to the bottom right position programmatically? 
That is where we typically want it (otherwise it hides 
data) and we end up pulling it there manually all the time.

Last question, can I limit the datacursormode to the 
specific axes, so that the user doesn't, by mistake, click 
on something in one of the other axes? 

Thanks!
Daphne