Selecting one or more objects in a 2D plot
4 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!