Updated 25 Mar 2002
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 (2023). moveplot.m (https://www.mathworks.com/matlabcentral/fileexchange/747-moveplot-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: moveplot2.m, ZoomBox, smoothplot.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.