<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983</link>
    <title>MATLAB Central Newsreader - Datatip (Datacursormode)</title>
    <description>Feed for thread: Datatip (Datacursormode)</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 23 Jul 2008 18:03:04 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#444947</link>
      <author>Tim Farajian</author>
      <description>Check the file exchange function MAKEDATATIP.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 23 Jul 2008 16:32:02 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#444928</link>
      <author>Y </author>
      <description>"helper " &amp;lt;spamless@nospam.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g016ot$gva$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;g00qvj$4gu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I would like to mark the start and end of those lines &lt;br&gt;
&amp;gt; &amp;gt; with data tips programmatically. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Good question.  I don't think you can do this.  I will &lt;br&gt;
&amp;gt; investigate more and get back to you if I find a way, &lt;br&gt;
&amp;gt; though.&lt;br&gt;
&lt;br&gt;
Well this is a good question... and I don't succeed in!...&lt;br&gt;
Is there any experienced people about that please ?&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 11 May 2008 11:48:03 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431434</link>
      <author>Daphne </author>
      <description>&lt;br&gt;
Well, the hack works really well for now. &lt;br&gt;
Thanks for taking this on. The entire lab is grateful!&lt;br&gt;
&lt;br&gt;
Daphne&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"helper " &amp;lt;spamless@nospam.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g05nbr$kdi$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in &lt;br&gt;
message &lt;br&gt;
&amp;gt; &amp;lt;g03lef$c19$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; This works great. Thanks!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Another small question. What I want to do, now the the &lt;br&gt;
&amp;gt; &amp;gt; datatips are plotted, is let the user change their &lt;br&gt;
&amp;gt; &amp;gt; locations manually, if needed. However, when I set the &lt;br&gt;
&amp;gt; &amp;gt; datacursormode to on, and try to move one of the &lt;br&gt;
&amp;gt; datatips, &lt;br&gt;
&amp;gt; &amp;gt; it doesn't move to the next point on the plot, but &lt;br&gt;
falls &lt;br&gt;
&amp;gt; &amp;gt; to the first one. Any ideas? &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; OK, I've added one more line to the 2nd FOR-loop.  I'll &lt;br&gt;
dig &lt;br&gt;
&amp;gt; more and try to find the ideal way to actually do all of &lt;br&gt;
&amp;gt; this rather than this hack.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I = [3 8];&lt;br&gt;
&amp;gt; for n = 1:length(I)&lt;br&gt;
&amp;gt;   h(n) = createDatatip(hDC, hPlot);&lt;br&gt;
&amp;gt; end&lt;br&gt;
&amp;gt; drawnow&lt;br&gt;
&amp;gt; for n = 1:length(I)&lt;br&gt;
&amp;gt;   set(h(n),'Position',[X(I(n)) Y(I(n))],...&lt;br&gt;
&amp;gt;     'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;gt;     num2str(X(I(n))),num2str(Y(I(n)))));&lt;br&gt;
&amp;gt;    set(get(h(n),'DataCursor'),'DataIndex',I(n))&lt;br&gt;
&amp;gt; end&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sun, 11 May 2008 02:58:03 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431419</link>
      <author>helper </author>
      <description>"Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g03lef$c19$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This works great. Thanks!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Another small question. What I want to do, now the the &lt;br&gt;
&amp;gt; datatips are plotted, is let the user change their &lt;br&gt;
&amp;gt; locations manually, if needed. However, when I set the &lt;br&gt;
&amp;gt; datacursormode to on, and try to move one of the &lt;br&gt;
datatips, &lt;br&gt;
&amp;gt; it doesn't move to the next point on the plot, but falls &lt;br&gt;
&amp;gt; to the first one. Any ideas? &lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
OK, I've added one more line to the 2nd FOR-loop.  I'll dig &lt;br&gt;
more and try to find the ideal way to actually do all of &lt;br&gt;
this rather than this hack.&lt;br&gt;
&lt;br&gt;
I = [3 8];&lt;br&gt;
for n = 1:length(I)&lt;br&gt;
&amp;nbsp;&amp;nbsp;h(n) = createDatatip(hDC, hPlot);&lt;br&gt;
end&lt;br&gt;
drawnow&lt;br&gt;
for n = 1:length(I)&lt;br&gt;
&amp;nbsp;&amp;nbsp;set(h(n),'Position',[X(I(n)) Y(I(n))],...&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;num2str(X(I(n))),num2str(Y(I(n)))));&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;set(get(h(n),'DataCursor'),'DataIndex',I(n))&lt;br&gt;
end&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 10 May 2008 22:57:03 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431396</link>
      <author>helper </author>
      <description>&amp;gt; Another small question. What I want to do, now the the &lt;br&gt;
&amp;gt; datatips are plotted, is let the user change their &lt;br&gt;
&amp;gt; locations manually, if needed. However, when I set the &lt;br&gt;
&amp;gt; datacursormode to on, and try to move one of the &lt;br&gt;
datatips, &lt;br&gt;
&amp;gt; it doesn't move to the next point on the plot, but falls &lt;br&gt;
&amp;gt; to the first one. Any ideas? &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Quoting myself:&lt;br&gt;
&lt;br&gt;
"Note that this is undocumented and is guaranteed to change &lt;br&gt;
in future releases, and *I'm not sure what I am really &lt;br&gt;
doing*, ..."&lt;br&gt;
&lt;br&gt;
I do see the same behavior when I click one of the datatips &lt;br&gt;
then use the arrow keys.  I'll look into it some more and &lt;br&gt;
get back to ya.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Sat, 10 May 2008 08:13:03 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431334</link>
      <author>Daphne </author>
      <description>&lt;br&gt;
This works great. Thanks!&lt;br&gt;
&lt;br&gt;
Another small question. What I want to do, now the the &lt;br&gt;
datatips are plotted, is let the user change their &lt;br&gt;
locations manually, if needed. However, when I set the &lt;br&gt;
datacursormode to on, and try to move one of the datatips, &lt;br&gt;
it doesn't move to the next point on the plot, but falls &lt;br&gt;
to the first one. Any ideas? &lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Daphne&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"helper " &amp;lt;spamless@nospam.com&amp;gt; wrote in message &amp;lt;g02in1&lt;br&gt;
$mhk$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in &lt;br&gt;
message &lt;br&gt;
&amp;gt; &amp;lt;g02208$r3i$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; If you do find a way to mark the datatips I would &lt;br&gt;
&amp;gt; &amp;gt; appreciate it. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ok.  I found a method.  Note that this is undocumented &lt;br&gt;
and &lt;br&gt;
&amp;gt; is guaranteed to change in future releases, and I'm not &lt;br&gt;
&amp;gt; sure what I am really doing, but it does work for now.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you create a plot using:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   hPlot = plot(X,Y);&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And you want to create a datatip at index "I" of the &lt;br&gt;
data, &lt;br&gt;
&amp;gt; use the following command to get a handle to the &lt;br&gt;
datacursor:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;  hDC = datacursormode;&lt;br&gt;
&amp;gt;  set(hDC,'Enable','off')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Then, use the following commands to create your datatip:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; h = createDatatip(hDC, hPlot);&lt;br&gt;
&amp;gt; drawnow&lt;br&gt;
&amp;gt; set(h,'Position',[X(I) Y(I)],...&lt;br&gt;
&amp;gt;   'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;gt;   num2str(X(I)),num2str(Y(I))));&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; However, if you want to create more than one datatip at &lt;br&gt;
a &lt;br&gt;
&amp;gt; time, note that the next call to createDatatip messes &lt;br&gt;
&amp;gt; things up for some reason.  Therefore, issue all &lt;br&gt;
&amp;gt; createDatatip commands at first, then set the &lt;br&gt;
properties.  &lt;br&gt;
&amp;gt; For example:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I = [3 8];&lt;br&gt;
&amp;gt; for n = 1:length(I)&lt;br&gt;
&amp;gt;   h(n) = createDatatip(hDC, hPlot);&lt;br&gt;
&amp;gt; end&lt;br&gt;
&amp;gt; drawnow&lt;br&gt;
&amp;gt; for n = 1:length(I)&lt;br&gt;
&amp;gt; set(h(n),'Position',[X(I(n)) Y(I(n))],...&lt;br&gt;
&amp;gt;   'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;gt;   num2str(X(I(n))),num2str(Y(I(n)))));&lt;br&gt;
&amp;gt; end&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I found many variations and different methods, but this &lt;br&gt;
one &lt;br&gt;
&amp;gt; seems to work.&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 22:20:17 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431304</link>
      <author>helper </author>
      <description>"Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g02208$r3i$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you do find a way to mark the datatips I would &lt;br&gt;
&amp;gt; appreciate it. &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Ok.  I found a method.  Note that this is undocumented and &lt;br&gt;
is guaranteed to change in future releases, and I'm not &lt;br&gt;
sure what I am really doing, but it does work for now.&lt;br&gt;
&lt;br&gt;
If you create a plot using:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;hPlot = plot(X,Y);&lt;br&gt;
&lt;br&gt;
And you want to create a datatip at index "I" of the data, &lt;br&gt;
use the following command to get a handle to the datacursor:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;hDC = datacursormode;&lt;br&gt;
&amp;nbsp;set(hDC,'Enable','off')&lt;br&gt;
&lt;br&gt;
Then, use the following commands to create your datatip:&lt;br&gt;
&lt;br&gt;
h = createDatatip(hDC, hPlot);&lt;br&gt;
drawnow&lt;br&gt;
set(h,'Position',[X(I) Y(I)],...&lt;br&gt;
&amp;nbsp;&amp;nbsp;'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;nbsp;&amp;nbsp;num2str(X(I)),num2str(Y(I))));&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
However, if you want to create more than one datatip at a &lt;br&gt;
time, note that the next call to createDatatip messes &lt;br&gt;
things up for some reason.  Therefore, issue all &lt;br&gt;
createDatatip commands at first, then set the properties.  &lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
I = [3 8];&lt;br&gt;
for n = 1:length(I)&lt;br&gt;
&amp;nbsp;&amp;nbsp;h(n) = createDatatip(hDC, hPlot);&lt;br&gt;
end&lt;br&gt;
drawnow&lt;br&gt;
for n = 1:length(I)&lt;br&gt;
set(h(n),'Position',[X(I(n)) Y(I(n))],...&lt;br&gt;
&amp;nbsp;&amp;nbsp;'String',sprintf('X: %s\nY: %s',...&lt;br&gt;
&amp;nbsp;&amp;nbsp;num2str(X(I(n))),num2str(Y(I(n)))));&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
I found many variations and different methods, but this one &lt;br&gt;
seems to work.&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 17:35:04 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431280</link>
      <author>Daphne </author>
      <description>&lt;br&gt;
Thanks, That's very helpful!&lt;br&gt;
If you do find a way to mark the datatips I would &lt;br&gt;
appreciate it. &lt;br&gt;
&lt;br&gt;
Daphne&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"helper " &amp;lt;spamless@nospam.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g016ot$gva$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; "Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in &lt;br&gt;
message &lt;br&gt;
&amp;gt; &amp;lt;g00qvj$4gu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I would like to mark the start and end of those lines &lt;br&gt;
&amp;gt; &amp;gt; with data tips programmatically. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Good question.  I don't think you can do this.  I will &lt;br&gt;
&amp;gt; investigate more and get back to you if I find a way, &lt;br&gt;
&amp;gt; though.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Another related question, is there a way to move the &lt;br&gt;
data &lt;br&gt;
&amp;gt; &amp;gt; tips' flag to the bottom right position &lt;br&gt;
programmatically? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You can do this by setting the "DisplayStyle" property &lt;br&gt;
of &lt;br&gt;
&amp;gt; the datacursor mode to "window".&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; dcm_obj = datacursormode;&lt;br&gt;
&amp;gt; set(dcm_obj,'DisplayStyle','window')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Note, however, that you can only display one data point &lt;br&gt;
at &lt;br&gt;
&amp;gt; a time using "window".  This conflicts with your desire &lt;br&gt;
to &lt;br&gt;
&amp;gt; have 2 data points (start and end).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Last question, can I limit the datacursormode to the &lt;br&gt;
&amp;gt; &amp;gt; specific axes, so that the user doesn't, by mistake, &lt;br&gt;
&amp;gt; click &lt;br&gt;
&amp;gt; &amp;gt; on something in one of the other axes? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You cannot eliminate use of the datacursor from a &lt;br&gt;
specific &lt;br&gt;
&amp;gt; axes directly.  You can, however, eliminate use of the &lt;br&gt;
&amp;gt; datacursor on specific plots by setting the "HitTest" &lt;br&gt;
&amp;gt; property of the line object to "off".&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; For example:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; hPlot = plot(1:10);&lt;br&gt;
&amp;gt; set(hPlot,'HitTest','off')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I suppose you can FINDALL objects on a specific axes &lt;br&gt;
&amp;gt; of "Type" "line" and set their properties using:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; hPlots = findall(h,'type','line');&lt;br&gt;
&amp;gt; set(hPlots,'hittest','off')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; where "h" is the handle to the axes.  However, you will &lt;br&gt;
&amp;gt; need to reissue this command whenever a new plot is &lt;br&gt;
placed &lt;br&gt;
&amp;gt; on that axes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Good luck&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 09:50:21 -0400</pubDate>
      <title>Re: Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431219</link>
      <author>helper </author>
      <description>"Daphne " &amp;lt;daphnew_too_nospam@yahoo.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g00qvj$4gu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; I would like to mark the start and end of those lines &lt;br&gt;
&amp;gt; with data tips programmatically. &lt;br&gt;
&lt;br&gt;
Good question.  I don't think you can do this.  I will &lt;br&gt;
investigate more and get back to you if I find a way, &lt;br&gt;
though.&lt;br&gt;
&lt;br&gt;
&amp;gt; Another related question, is there a way to move the data &lt;br&gt;
&amp;gt; tips' flag to the bottom right position programmatically? &lt;br&gt;
&lt;br&gt;
You can do this by setting the "DisplayStyle" property of &lt;br&gt;
the datacursor mode to "window".&lt;br&gt;
&lt;br&gt;
dcm_obj = datacursormode;&lt;br&gt;
set(dcm_obj,'DisplayStyle','window')&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Note, however, that you can only display one data point at &lt;br&gt;
a time using "window".  This conflicts with your desire to &lt;br&gt;
have 2 data points (start and end).&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;gt; Last question, can I limit the datacursormode to the &lt;br&gt;
&amp;gt; specific axes, so that the user doesn't, by mistake, &lt;br&gt;
click &lt;br&gt;
&amp;gt; on something in one of the other axes? &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
You cannot eliminate use of the datacursor from a specific &lt;br&gt;
axes directly.  You can, however, eliminate use of the &lt;br&gt;
datacursor on specific plots by setting the "HitTest" &lt;br&gt;
property of the line object to "off".&lt;br&gt;
&lt;br&gt;
For example:&lt;br&gt;
&lt;br&gt;
hPlot = plot(1:10);&lt;br&gt;
set(hPlot,'HitTest','off')&lt;br&gt;
&lt;br&gt;
I suppose you can FINDALL objects on a specific axes &lt;br&gt;
of "Type" "line" and set their properties using:&lt;br&gt;
&lt;br&gt;
hPlots = findall(h,'type','line');&lt;br&gt;
set(hPlots,'hittest','off')&lt;br&gt;
&lt;br&gt;
where "h" is the handle to the axes.  However, you will &lt;br&gt;
need to reissue this command whenever a new plot is placed &lt;br&gt;
on that axes.&lt;br&gt;
&lt;br&gt;
Good luck&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 06:29:07 -0400</pubDate>
      <title>Datatip (Datacursormode)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168983#431198</link>
      <author>Daphne </author>
      <description>&lt;br&gt;
A few questions on adding datatips programmatically. &lt;br&gt;
&lt;br&gt;
I have some noisy, log-plot data that goes into a complex &lt;br&gt;
(multi-axes) GUI and using a code that we wrote, we &lt;br&gt;
automatically detect areas where we can fit straight lines &lt;br&gt;
(in the log world). I would like to mark the start and end &lt;br&gt;
of those lines with data tips programmatically. That way &lt;br&gt;
if the user wants to manually change them, they have a &lt;br&gt;
starting point of already present tips. &lt;br&gt;
&lt;br&gt;
Another related question, is there a way to move the data &lt;br&gt;
tips' flag to the bottom right position programmatically? &lt;br&gt;
That is where we typically want it (otherwise it hides &lt;br&gt;
data) and we end up pulling it there manually all the time.&lt;br&gt;
&lt;br&gt;
Last question, can I limit the datacursormode to the &lt;br&gt;
specific axes, so that the user doesn't, by mistake, click &lt;br&gt;
on something in one of the other axes? &lt;br&gt;
&lt;br&gt;
Thanks!&lt;br&gt;
Daphne&lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
