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

Home » Public Forums » archive » Color Contouring Proceedure Note
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
Color Contouring Proceedure Note [message #508] Fri, 11 September 1992 07:45
zawodny is currently offline  zawodny
Messages: 121
Registered: August 1992
Senior Member
There was an immediate response to my offer of a color contouring
routine, so I will post it. It comes in two parts, CONTTW.PRO and EXPAND.PRO,
both of which have been tested to a fair degree. You may hack these to bits as
you see fit. I have indicated areas of CONTTW where you may wish to change
things (such as color tables, what is black and what is white etc.) with a
comment line containing ****. This routine has LOTS of keywords, some of which
interact with each other. Play with it for awhile before declaring that a
"feature" is a bug. I have no doubt that may of you will improve on this
routine, please keep me informed of enhancements.

EXPAND.PRO performs a two dimesional stretch (or shrink) of an array of
any size to any size via a bilinear interpolation (sort of like the way
CONGRIDI was supposed to work). Currently the result is always a floating
point array although the input may be anything. There is some interesting
manipulations of subscripts in this routine which may be of general interest to
the newcommer to IDL. See if you can figure out why it works.

Have fun but don't blame me.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
zawodny@arbd0.larc.nasa.gov MS-475, Hampton VA, 23681
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- *-*-*-*-*-*-*-*-*-*
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Color Contouring Proceedure
Next Topic: CONTTW.PRO (11 pages long)

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

Current Time: Wed Oct 08 19:16:24 PDT 2025

Total time taken to generate the page: 0.00734 seconds