Creating a box overlaid on an image to identify a subset of data for analysis [message #37599] |
Thu, 08 January 2004 08:33 |
Charles Paxson
Messages: 4 Registered: March 2003
|
Junior Member |
|
|
Dear users group,
What is the standard way of showing a box over an image in IDL? The
widget_draw routine allows for keywords "motion_events", and
"button_events". So the cursor positions may be obtained from the events
structure.
The intention of the application is to allow a mouse click press, drag and
then release to indicate a region of data that will be processed and
displayed in another window. With a combination of if statements checking
on the button state and over plots, I'm sure I could kluge something
together, but is there a standard routine or method to perform this task?
Thanks.
Regards,
Charles Paxson
Frontier Technology
Beverly, MA
|
|
|