drag Line with callback

[set & get& drag] the line in figure, and get its [draggin-callback] as your wish.

您现在正在关注此提交

You can [set & get& drag] the line(“dragLine”) position. When dragged, it can run your <own callback function_handle> by set the obj Interface.
[dragLine and dragRangle ] have almost the same properties and operation skill, but have 4 dragLine.
Tips:
The "zip" file have a "demo.m" may be helpful.
All written by 'classdef' technology.
Author:
Chen Xinfeng(陈昕枫,华中科技大学)
2016-1-12

引用格式

chen xinfeng (2026). drag Line with callback (https://ww2.mathworks.cn/matlabcentral/fileexchange/54857-drag-line-with-callback), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: Graphical data selection tool

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0