Call the function as:
Activate cursor mode on the figure, and select a point.
Hit the return. The (x,y) coordinates are recorded and program waits for you to choose another point or to stop. In order to finish reading, one types "Q" in the command window.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.