Click-n'-drag plot

Move curves with mouse in a MATLAB figure.
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 (2024). Click-n'-drag plot (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: MATLAB Plot Tracing Utility

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Works now in subplot