how to make figure annotation movable by mouse (or "interactive")
12 次查看(过去 30 天)
显示 更早的评论
I have a question regarding figure annotation. If I use the insert annotation from the figure menu, the annotations created will be movable by the mouse. However, if I create annotation by using the annotation function through code, then I am not able to move that annotation with mouse any more, unless I insert another annotation through the menu. Does anyone know a command that can toggle the interactive nature of the annotations? I am currently creating a custom GUI that requires the annotation to be movable by the user. Thank you.
0 个评论
回答(1 个)
Fangjun Jiang
2011-10-20
Yes, you can. You just need to run plotedit(Figure) to enable it. When you do the manual insertion, it probably enables the edit mode automatically.
3 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!