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

Home » Public Forums » archive » Re: XY position of subscripts
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: XY position of subscripts [message #80171] Sun, 13 May 2012 17:09 Go to previous message
cgguido is currently offline  cgguido
Messages: 195
Registered: August 2005
Senior Member
On Friday, May 11, 2012 12:00:47 PM UTC-5, KH wrote:
> On May 11, 12:56 pm, Gianguido Cianci <gianguido.cia...@gmail.com>
> wrote:
>> Use array_indices
>>
>> print, array_indices(array, where(array eq 1))
>>
>> G
>
> Thank you, this is what I was looking for. I knew it was simple...
> Kim

Welcome. The main advantage of array_indices is that it can think in multi-dimensions and I can't ;-)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scalar system variable as single element array
Next Topic: cgplot and the disappearing white axis

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

Current Time: Fri Oct 10 19:12:29 PDT 2025

Total time taken to generate the page: 0.16122 seconds