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

Home » Public Forums » archive » Elevation Shading in Object Graphics
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: Elevation Shading [message #42224 is a reply to message #13351] Fri, 14 January 2005 14:39 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Jim Harwell writes:

> The data range will lie somewhere between 0 & 255. I want each value to
> be represented by a different color/shade so that the user can make an
> approximation of the values of the peaks/troughs simply by looking at
> their color.
>
> Sorry, I am new to IDL so things are taking a long time - I keyed in
> the values of 55 and 155 as you suggested as a quick hack just to see
> if it was working - ultimately these Min & Max values will have to be
> extracted from the data each time a new set of data is processed.
> Thank you for your time and help.

Ah, then perhaps what you want is to set MIN=0 and MAX=255
so that your data colors are always scaled between these two endpoints.
That way, data that is actually scaled between 55 and 155 will
only use a portion of the colors in the color table. Is that
what you wanted?

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Question on watershed segmentation
Next Topic: How to use GTOPO30 in IDL?

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

Current Time: Fri Oct 10 18:38:48 PDT 2025

Total time taken to generate the page: 0.55477 seconds