[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: widgets



Stuart Colley (src@star.ucl.ac.uk) writes:
 
> I've not really used widgets before, any suggestions on how the following
> task might be tackled would be appreciated.  What I'd like to do is
> display an image, stored in an array size x by y, using say tvscl, then
> click on part of the image with the mouse and get x, y, and the value of
> the array at that location.
> 
> Are there any routine(s) suited to this sort of task?

You can find a routine that does this associated with
this article on my web page:

   http://www.dfanning.com/tips/read_pixel.html

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155