select many graphic objects with mouse

2 views (last 30 days)
Juan
Juan on 5 Nov 2011
Commented: Juan on 9 Apr 2014
I used to select the objects(i.e lines) with shift and click on it. I like to find a way to select many objects on the axes with mouse and a selection rectangle like windows file selection for example. can please anyone help?
  3 Comments
Doug Hull
Doug Hull on 14 Nov 2011
In what context is this occurring? A regular line plot, during "plot edit" mode, etc...
Walter Roberson
Walter Roberson on 14 Nov 2011
If the selected area in the rectangle happens to include uicontrol or uitable or text objects, should those be included in the selected objects? Or should it only be a particular variety of objects at any one time, according a parameter passed in, such as lines or buttons ?
If an object in the area has Hittest turned off, then should it be immune from selection, or would that be deemed too confusing because the user would not be able to select something that is obviously "right there!" ?

Sign in to comment.

Accepted Answer

Juan
Juan on 16 Nov 2011
Ok .. I have found the solution.. it is rbbox. @Susan read the Documentation about it. if you still don't know how, I 'll write my code here.

More Answers (1)

Lenka
Lenka on 30 Mar 2014
I have the same problem. Please can you public your code?
  1 Comment
Juan
Juan on 9 Apr 2014
i see this already now. Wher you still need the code i can search for it tomorow.

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!