click on the graph, and track the function and its derivative through the angles