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

Home » Public Forums » archive » question
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
question [message #17044] Thu, 09 September 1999 00:00 Go to next message
Ophir Maor is currently offline  Ophir Maor
Messages: 1
Registered: September 1999
Junior Member
Hi there...

i havea questions for you:
1. if i have a window and inside i 'm getting some data from the user,
and then i want put two buttons for o.k. and cancel... how can i do it,
meaning when presssing o.k. the data will be transfered to the callback
function of the button 'o.k.'

thanks,

Ophir Maor

and Keep the coal still hot......

------------------------------------------------------------
address:

Ophir Maor
Hollaender str. 126
13407
Berlin
Germany

Phones:

at home : 0049-30-45803241 (in the evenings)
at work : 0049-30-80622635 (during the day, 10:00 - 16:00)
------------------------------------------------------------
Re: Question [message #76383 is a reply to message #17044] Tue, 31 May 2011 13:07 Go to previous message
Konstantinos is currently offline  Konstantinos
Messages: 29
Registered: April 2011
Junior Member
Thank You Fabzou

I solve it
Re: Question [message #76395 is a reply to message #17044] Tue, 31 May 2011 02:10 Go to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
On 05/31/2011 10:02 AM, Konstantinos wrote:
> Dear ALL
>
> Supose that we have an matrix, lets say a[200,200]
> most of the elements are 0
> I want to find the coordinates and the values of the elements that are
> not zero within the matrix
> (eg valye 5, col 12, row 17)
>
> if i give the commanf
>
> index=WHERE(a gt 0)
> then the result is a long aray of dimesion 1.

the size of the array depends on how many elements were found.

To get the coordinates into the matrix, you might want to use
ARRAY_INDICES.




>
> any suggestions?
>
> Thank You in advance
>
> Kostas
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Histogram Bug Update
Next Topic: Re: Frustrated by 2 Data Plotting problems

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

Current Time: Wed Oct 08 15:10:50 PDT 2025

Total time taken to generate the page: 0.00558 seconds