uilineshift

版本 1.0.0.0 (3.3 KB) 作者: paul koch
function to shift a selected line (or all other outputs of the PLOT-function) in X and Y-direction
1.5K 次下载
更新时间 2009/4/25

无许可证

编者注: 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
----------------------------------------------------------------------

引用格式

paul koch (2024). uilineshift (https://www.mathworks.com/matlabcentral/fileexchange/23899-uilineshift), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息
致谢

启发作品: plot_shift.m

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0