Hi Jousef,
I am assuming that you are looking for ways to identify n points from the current axes and returns their x- and y-coordinates in the x and y column vectors.
The function "ginput" enables you to identify n points from the current axes and returns their x- and y-coordinates.