matlab - How to make line invisible to datacursormode -
i have application create lines on cursor position. when enter datacursormode create datatips, create on lines follow cursor position.
i wondering how remove them being visible datacursormode, don't making them invisible.
to solve it, make handle hittest off.
i.e, line created plot or line command, add following pair value @ end:
plot(…,'hittest','off'); line(…,'hittest','off'); this make line invisible datacursormode.
Comments
Post a Comment