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.
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?
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!
Updates
21 Mar 2005
Enhancements. 1)You can lock lines in place on the graph 2)The mouse pointer changes appropriately when hovering over a line. This makes interaction a bit easier. 3)You can export the x-locations of the markers with a new context menu of the Axes.