What should be added is ButtonDownFcn callbacks on ah, bh, ch .
Otherwise you have to do a bunch of work figuring out which line segment is closest to where you clicked, and deciding whether you are within tolerance of it.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!