Click-n'-drag plot

Move curves with mouse in a MATLAB figure.
5.8K 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 (2024). Click-n'-drag plot (https://www.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 Visual Exploration in Help Center and MATLAB Answers
Acknowledgements

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
1.0.0.0

Works now in subplot