Re: Multiple Color Tables!? [message #40990] |
Fri, 17 September 2004 06:24 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
biophysics writes:
> Please HELP if any of you understand what I'm trying to do.
Sorry, I don't. :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
|
|
|
Re: Multiple Color Tables!? [message #40993 is a reply to message #40990] |
Fri, 17 September 2004 02:08  |
biophys
Messages: 68 Registered: July 2004
|
Member |
|
|
Is my radeon 9800pro a 8-bit card? //cry
I guess I will be the last person to understand how color works in IDL.:(
In general, I want something like this,
;**********************
pro myLOADCT, ct
ct=fix(ct) mod 41
bottom=ct*256
ncolors=256
new_LOADCT, ct, bottom=bottom, ncolors=ncolors
end
;***********************
;***********************
pro myTV, data, CT=ct
new_TV, data+256*ct
end
;***********************
;***********************
pro mainpro
...
for i=0,40 do myLOADCT, i
...
wset, draw_0
myTV, bytscl(data_1), CT=ct_1
...
wset, draw_2
myTV, bytscl(data_2), CT=ct_2
...
wset, draw_n
myTV, bytscl(data_n), CT=ct_n
...
end
;***********************
Please HELP if any of you understand what I'm trying to do. Thanks for reading.
David Fanning <davidf@dfanning.com> wrote in message news:<MPG.1bb3ec9e7625434b98969b@news.frii.com>...
> biophysics writes:
>
>> I really want to use multiple color tables at the same time. The tips
>> from David Fanning's website is not very satisfying. The visual effect
>> is really bad if I have to use 3 at the same time. The world is
>> colorful, why should we always be limited to 256 colors?! Can any body
>> suggest more elegant ways of having several colormaps in same
>> application with 256 colors each?!
>
> Uh, get a 24-bit graphics display card? Then you can
> have as many color tables working simultaneously as you
> like.
>
> Cheers,
>
> David
|
|
|
Re: Multiple Color Tables!? [message #41004 is a reply to message #40993] |
Thu, 16 September 2004 18:32  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
biophysics writes:
> I really want to use multiple color tables at the same time. The tips
> from David Fanning's website is not very satisfying. The visual effect
> is really bad if I have to use 3 at the same time. The world is
> colorful, why should we always be limited to 256 colors?! Can any body
> suggest more elegant ways of having several colormaps in same
> application with 256 colors each?!
Uh, get a 24-bit graphics display card? Then you can
have as many color tables working simultaneously as you
like.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
|
|
|