comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Creating a box overlaid on an image to identify a subset of data for analysis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Creating a box overlaid on an image to identify a subset of data for analysis [message #37598] Thu, 08 January 2004 08:41
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Charles Paxson writes:

> 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?

See this article:

http://www.dfanning.com/widget_tips/rubberband_widget.html

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Creating color MPG using IDL
Next Topic: How to import some functions written by visual C++ into IDL?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:22:50 PDT 2025

Total time taken to generate the page: 0.00495 seconds