Selecting one or more objects in a 2D plot

Hello all,
I'm looking for a GUI-based way to select one or more discrete objects in a simple 2D plot. I looked at RBBOX, which I can use to extract the coordinates of a bounding box -- but then it appears I have to go through all the plot's children handles to find those whose XData and YData fit the chosen ranges. And if I want to select multiple objects that aren't all enclosed in a single rectangle (like control-click in Windows Explorer or shift-click in MacOS Finder), RBBOX won't really work.
Can anyone suggest a clean way to do this?
Thanks in advance,
-H

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

提问:

HJ
2013-11-21

Community Treasure Hunt

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

Start Hunting!

Translated by