moveplot.m

Enables mouse-based on-screen manipulation of Plot data
16.4K Downloads
Updated 25 Mar 2002

View License

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 (2024). moveplot.m (https://www.mathworks.com/matlabcentral/fileexchange/747-moveplot-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Exploration in Help Center and MATLAB Answers
Acknowledgements

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!
Version Published Release Notes
1.0.0.0