Rank: 797 based on 87 downloads (last 30 days) and 2 files submitted
photo

Dave Van Tol

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Dave View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 May 2008 Screenshot Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol annotation, customization, data cursor datacurso... 15 6
  • 4.75
4.8 | 4 ratings
14 Feb 2008 Screenshot Shaded area plot Plot two lines, then shade the area between those two lines. Author: Dave Van Tol area, shade, shaded, chart, graph, specialized 72 1
  • 5.0
5.0 | 2 ratings
Comments and Ratings on Dave's Files View all
Updated File Comment by Comments Rating
21 Oct 2011 Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol v, Ben

I run this thing all the time, very useful. Is there any way to save the labels in the figure so I can just save a .fig and send it to a collaborator?

26 Jul 2011 Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol Auton, Adam

Excellent - makes the whole process much easier

26 Jul 2011 Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol Auton, Adam
04 Mar 2011 Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol Emily

I actually just figured out a solution:

if length(datapoint)>1
    txt = labels{datapoint(1)};
    for i = 2:length(datapoint)
       txt = [txt ';' labels{datapoint(i)}];
    end
else
  txt = labels{datapoint};
end

output_txt = { txt;...
    ['X: ',num2str(pos(1),4)];...
    ['Y: ',num2str(pos(2),4)] };

Probably not the best way to code it, but it works...

23 Sep 2010 Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol Crozier, Richard

Very useful in showing my how to write my own custom datatip function!

Top Tags Applied by Dave
annotation, area, chart, customization, data cursor datacursor plot annotate annotation
Files Tagged by Dave View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
22 May 2008 Screenshot Custom Data Cursor This function allows a user to label each point in a data series with custom labels. Author: Dave Van Tol annotation, customization, data cursor datacurso... 15 6
  • 4.75
4.8 | 4 ratings
14 Feb 2008 Screenshot Shaded area plot Plot two lines, then shade the area between those two lines. Author: Dave Van Tol area, shade, shaded, chart, graph, specialized 72 1
  • 5.0
5.0 | 2 ratings

Contact us at files@mathworks.com