Enables mouse-based on-screen manipulation of Plot data


Updated Mon, 25 Mar 2002 16:08:36 +0000

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 (2023). moveplot.m (, MATLAB Central File Exchange. Retrieved .

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

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