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

Home » Public Forums » archive » Re: colorbar to display the 0 in the middle
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: colorbar to display the 0 in the middle [message #47490 is a reply to message #47397] Thu, 09 February 2006 21:51 Go to previous message
vigeesh is currently offline  vigeesh
Messages: 5
Registered: February 2006
Junior Member
David Fanning wrote:

> How about this:
>
> minVal = -30
> maxVal = 30
> Colorbar, Range=[minVal, maxVal]
>

But, I want something like this
minval = -30
maxval = +50

i.e my colorbar should look something like this
______ 50
| |
| |
| |
| |
| |
| |
| |- 0
| |
| |
| |
| |
| |
| |
------- -30

:-)

Basically, what I want is that the color for the data value 0 should be
the same for all the output images. That is, if I use a Blue-Red color
table, then the 0 data value should always be green. The main problem
is because the minimum and maximum value keeps on changing for
different arrays. If for the first array the min value is -30 and max
is 50, for the second array it might be -50 and +75, and so on.

Thanks,

Vigeesh.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDLWave documentation generation
Next Topic: IDL oo programming with ENVI

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

Current Time: Fri Oct 10 18:06:27 PDT 2025

Total time taken to generate the page: 0.80018 seconds