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

Home » Public Forums » archive » for each loop in hashtable
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
for each loop in hashtable [message #67781] Mon, 31 August 2009 23:59
b.a is currently offline  b.a
Messages: 26
Registered: July 2009
Junior Member
Hi,

I am using 2 hashtables in my IDL program as:

fileList ( id , data )
id is a string value and data is a 2D array
colorList ( id , color )
id is the same string and color is an integer

Now I want to do this:

for each id of colorList which exists in fileList, plot the data with
the "color". I mean for each string "id" get the "data" from fileList
and get the "color" from colorList and plot the data in that colour.

Do you have any idea how to do this?

Thank you
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Automatically Register GeoTIFF Images
Next Topic: 3D Surfaces from Non-Parallel Image Regions of Interest

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

Current Time: Wed Oct 08 19:30:57 PDT 2025

Total time taken to generate the page: 0.00555 seconds