uilineshift
No License
Editor's Note: This file was selected as MATLAB Central Pick of the Week
this function might be useful for quick and dirty visual inspection of multiple traces or timecourses with a timedelay between or arbitrary x/y-axes or illconditioned overlay of traces
- works for all outputs of the 'plot-function' (type is 'line').
- Note, plotet dots are also of type line.
- The function adds an icon in the menubar of a figure, which than
activates the shift-function
- if the function is active, a line can be selected and moved within the axis as long as the
mousebutton is not released
- right mouse button (contextmenu): get the original plot (as long as the icon in the menubar is
not deactivated)
=====================
HOW TO DO:
1]
plot(something);%plot something
uilineshift; %adds icon in menubar
OR 2]
uilineshift; %adds icon in menubar
now plot something
=====================
EXAMPLE:
uilineshift('test'); %3 examples
----------------------------------------------------------------------
Paul S. Koch, BNIC Berlin 2009
----------------------------------------------------------------------
Cite As
paul koch (2024). uilineshift (https://www.mathworks.com/matlabcentral/fileexchange/23899-uilineshift), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: plot_shift.m
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |