Click-n'-drag plot

Move curves with mouse in a MATLAB figure.

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/5751-click-n-drag-plot), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: MATLAB Plot Tracing Utility

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Works now in subplot