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

Home » Public Forums » archive » Trivial colour table problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Trivial colour table problem [message #41647] Wed, 03 November 2004 09:26
sdj is currently offline  sdj
Messages: 20
Registered: November 2003
Junior Member
Dear All,

I would be extremely grateful if anybody can help me with this trivial
Colour Table problem:

I have a pre-defined colour table (RAINBOW - 13), but only want to use
some of the 256 available colours. The colours I want to use are the
following:
a) from 80 to 110 (shades of blue)
b) from 128 to 144 (shades of green)
c) from 188 to 200 (shades of yellow)
d) from 208 to 240 (shades of red)
for a total of 90 colors.

What I would like to do is to construct a colour table with the
aforementioned 90 colours ordered sequentally (say from 0 to 89) and
the remaining 166 white.

This mighlt be a silly way around to solve a trivial problem, but in
my application (a 2-d density plot) I need a colour table which can
clearly distinguish my distribution, and 256 colours are just too
many...

Many thanks in advance for your help.

Best Regards,
Pepe

*************************************************
Pepe S. D. Juevara

- No debe cambiarse de caballo al cruzar el r�o -
*************************************************
[Message index]
 
Read Message
Previous Topic: Storing variables in multiple widgets applications
Next Topic: Re: Trivial colour table problem

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

Current Time: Tue Dec 02 18:51:30 PST 2025

Total time taken to generate the page: 1.43886 seconds