Section: Handle-Based Graphics
This function waits for the user to click on the current figure window, and then returns the coordinates of that click. The generic syntax for its use is
[x,y] = hpoint