1
$\begingroup$

This question already has an answer here:

I want to click on a plot and have the pointer snap to the actual curve displayed. I found ways to click any random point on the plot but I want it to only click on actual points on the curve.

I want to read of the coordinates of the curve. But I dont want to read the coordinates of white space. I only want the curve. It'd also be great if I could drag the mouse and the point moves to the closes curve position to the mouse.

$\endgroup$

marked as duplicate by user9660, m_goldberg, MarcoB, Bob Hanlon, Yves Klett Dec 23 '15 at 18:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.