Enable this function on a line object (such as a product of the plot function) to allow graphical manipulation of data on-screen: click on a point and drag it anywhere on the axes. Dragging off the axes results in an enlargement of the axes. moveplot can be called with arguments to allow 2-d motion, or motion restricted to only the x or y axis. Moveplot cleans up after itself.
Brandon Kuczenski (2021). moveplot.m (https://www.mathworks.com/matlabcentral/fileexchange/747-moveplot-m), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!