Arbitrary Line Cut
Mouse-controlled method for creating linecuts in an arbitrary direction through 2D data
ARBLINECUT(H) enables mouse selection of an arbitrary line through a pcolor or image plot. Data along this line is interpolated and plotted in a new figure. H is the handle to a valid plot object. Once ARBLINECUT is called, click on the plot at one endpoint of the desired linecut and drag to the other endpoint, then release. Each mouse click will produce a new linecut.
With the main plot figure in focus, press the backspace key to delete all drawn lines and open linecut windows. Press the x or y key to set the bottom axis of all ensuing linecut plots to x or y. Press the return key or right click on the main figure in order to stop ARBLINECUT.
Cite As
Patrick (2024). Arbitrary Line Cut (https://github.com/pmaher86/arblinecut), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |
|