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

Home » Public Forums » archive » Re: Working with indices of WHERE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Working with indices of WHERE [message #38345 is a reply to message #38340] Wed, 03 March 2004 09:05 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Nuno Oliveira writes:

> It is possible to work with indices resulting of using the function WHERE.
>
> If I have a certain region I want to move the entire region... can I do
> it with the indices? Where (oh, irony!) can I read about it?
> (I've already looked in the Reference Guide and there's nothing about it).

Oh, Nuno, you are looking entirely in the wrong direction!

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

Convert the 1D indices to columns and rows and add your
offsets.

Cheers,

David

P.S. I think there is a new IDL routine that does this,
but I can't remember the name.

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: cmset_op question (Craig)
Next Topic: BYTSCL and NAN keyword

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

Current Time: Sat Oct 11 02:51:59 PDT 2025

Total time taken to generate the page: 0.00676 seconds