Selecting one or more objects in a 2D plot

3 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by