moveplot.m

Enables mouse-based on-screen manipulation of Plot data

You are now following this Submission

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.

Cite As

Brandon Kuczenski (2026). moveplot.m (https://www.mathworks.com/matlabcentral/fileexchange/747-moveplot-m), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: moveplot2.m, ZoomBox, smoothplot.m

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0