Click-n'-drag plot

Move curves with mouse in a MATLAB figure.
5.9K Downloads
Updated 22 Jun 2005

No License

Features :
- Works with multiple plots, even with subplots
- Automatically selects the pointed curve

Short Summary :
- Focus on figure first
- Run interactive_move to enable
- Click outside of axes (gray area) to disable
- Press x or y while draging to constraint x or y movements

Cite As

Jean-Pascal Rueff (2026). Click-n'-drag plot (https://au.mathworks.com/matlabcentral/fileexchange/5751-click-n-drag-plot), MATLAB Central File Exchange. Retrieved .

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

Inspired by: MATLAB Plot Tracing Utility

Version Published Release Notes
1.0.0.0

Works now in subplot