MATLAB: Interactive graph and data collection

graph

Hey,
I was wondering if there was any way to create interactive graph. For example, I would like to be able to click on the curve shown and store those points to later be exported into excel. I have tried to use an algorithm to determine onset and offset but due to the noise in the data it would be better if the user could select those and then the algorithm can analyze the data in between those two selected points.

Best Answer

Have you looked at the GINPUT function?
Related Question