How can I edit the coordinate of a point marked on an image in MATLAB?
<p>I am creating a GUI in Matlab and I need to move some data points using the mouse, for example:</p>

<pre><code>imshow(someImage, [ ]), hold on;

plot(x, y, '*r')
</code></pre>

<p>I want to select a point from x and y vectors by clicking on it and move it using the mouse. How can I implement it?</p>