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

Home » Public Forums » archive » Re: creating dynamic array
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: creating dynamic array [message #64537] Tue, 06 January 2009 14:55 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
nakisa writes:

> I have a file of data of
> x,y,L .
>
> I need to compare of L with a fix value and plot (x,y) with less " L "
> with one color and the other (x,y ) with other color.
>
> The problem is I need to compare L ,then store the x and y s in new
> variable , for example new_1 and new2 ,then plot them.
>
> Fro this plot, I think the only way is to store data in array. but I
> need dynamic array and I don't know how can I create dynamic array ?

I'm guessing the WHERE function might be your friend.

IDL> ? where

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: ENVI ROI colors
Next Topic: Documentation time

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

Current Time: Sat Oct 11 06:15:31 PDT 2025

Total time taken to generate the page: 1.12195 seconds