No BSD License  


5.0 | 7 ratings Rate this file 16 Downloads (last 30 days) File Size: 8.72 KB File ID: #4745
image thumbnail




12 Apr 2004 (Updated )

Interactive placement and movement of data markers on a plot.

| Watch this File

File Information

This function allows you to place vertical lines over a plot to mark off attributes of interest. It comes complete with a data labelling function that updates as you move the line over the plot. This is a great tool if you want to obtain information from a graph visually.


Hline And Vline and Datalabel(State,Marker Color); inspired this file.

This file inspired Mri Brain Segmentation.

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
20 Mar 2012 Alejandro Muñoz

How I can get the point where the vertical line for use as input for other variables?

Please help

30 Dec 2011 Sun


27 May 2011 Mel

Can this be used on a scatter plot or data (ie: non-continuous function)?

30 Nov 2010 erdem

Thanks for the useful function, but i have a question. I have 4 subplots in a figure and i want to move the markers synchronously.
Is it possible with small change?

09 Apr 2010 Bruce Ferguson

I can not get this function to work. It does not throw any errors but does not put vertical line on plot. I am sending the line below :

figure; plot(b(:,6),b(:,14)); h = data_marker(1);

Any help is greatly appreciated.

10 Jan 2010 Jveer  
31 Jul 2008 Duo Li

Thanks! It solves my problem.

03 Jul 2007 Sona Patel

Thank you! Examples are great; very straightforward and clean function.

29 May 2007 romain mavudila  
18 Feb 2007 hiroki ikeuchi

This function is very useful.

26 Dec 2004 Fu-Sung Wang

Thanks for sharing this great work. I like it very much!

Contact us