I have plotted the following curve:
from pylab import *
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
The std matplotlib output gives only zoom, pan and save functions. I
need to check the distance between two points on the plotted curve by
clicking on the curve. How do I do this?