Re: read pixels [message #23330] |
Tue, 16 January 2001 11:55 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:
> P.S. Doesn't David sound a little worried about the reputation of his
> READ_PIXEL code?
Really!? I thought I sounded grateful it wasn't PSCONFIG
causing problems. :-)
Cheers,
David
P.S. Let's just say that the problem appears to be a
misunderstanding in how IDL programs work. :-)
--
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
|
|
|
Re: read pixels [message #23331 is a reply to message #23330] |
Tue, 16 January 2001 11:16  |
Pavel A. Romashkin
Messages: 531 Registered: November 2000
|
Senior Member |
|
|
RDPIX I think *does* recognize the command-click. It just does not close
the direct graphics window that you were clicking in. But it certainly
ceases working after a command-click. If you want it to close the
window, you'll have to add that to Rdpix.pro code. But if you do, it is
so-o tempting to just write your own after seeing how outdated RDPIX is :-(
Cheers,
Pavel
P.S. Doesn't David sound a little worried about the reputation of his
READ_PIXEL code?
Barbara A Cohen wrote:
>
> Hi, I'm using IDL 5.3 on a Mac with OS8.1. I'm trying to display a tif
> and interactively get the x,y of a coordinate I choose with the cursor.
> Ideally, I'd like my program to read my click-on x and y into variables.
> RDPIX doesn't recognize my cmd-click as a right mouse button so I can
> never get out of it. David's READ_PIXEL program doesn't display the
> coordinates, though it displays the image in a nice widget. Any
> suggestions on what I am doing wrong or other programs
> to do this task? Thanks!
>
> --
> Barbara Cohen
> University of Tennessee
> bcohen@utk.eduu
|
|
|
|