09-26-2009 05:47 AM
I may need to select a region in a plot as the attached screenshot.
When selecting it, a yellow or other color frame may appear. It can be rectangular or circle.
After the selection, the frame may disappear. And I may get the frame's position parameters.
May I know how to do it, thanks.
Solved! Go to Solution.
09-27-2009 01:16 PM
You could use cursors. If you have one cursor act as the upper-left corner and the other cursor as the lower-right corner.
See the attached example.
09-27-2009 01:16 PM
09-27-2009 09:23 PM
Thanks, but I may want to display the rectangular only when the mouse click and drag on the plot.
Is it possible to use the mouse down, move and up event with functions of drawing lines to do it.
Thanks.
09-27-2009 09:33 PM
Have the mouse-down event programmatically make the first cursor appear.
Have the mouse-up event programmatically make the second cursor appear.
As for how to do it with lines... I'm not sure.
09-28-2009 12:24 AM