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

Home » Public Forums » archive » Re: custom color table
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: custom color table [message #32181 is a reply to message #32180] Sat, 21 September 2002 07:35 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Miklos Z. Kiss wrote:
> Many thanks. On these types of monochrome scales, color #0 is black (0, 0,
> 0), and color #255 is cyan (0, 255, 255) or orange (255, 165, 0). Is there
> a simple, or at least, a systematic, way to make a color table in which
> color #0 is black, color #255 is white, and everything in between is the
> shade of some the color in question? I am thinking of the way IDL's
> predefined color tables are, such as color tables, 0, 1, 3, and 8. I guess
> technically speaking this would be more of a quasi-monochrome color table.
> Thanks again.
>
> -Mik
>


Dear Miklos


I have a widget to write colortable routines


http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/download/x_def_colortable.tar.gz
or as idl5.5 binary
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_source/idl _html/dbase/download/x_def_colortable.sav

The output of the widget is a routine whith header and an example image
like:

pro ct_miklos,start_color=start_color,max_colors=max_colors,colo rs=colors

colors=[[7,255,128,128,250],$
[0,50,128,255,255],$
[0,50,255,128,255]]
def_colorsystem,colors=colors,start_color=start_color,max_co lors=max_colors
end


For further routines and licensing please have a look at
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html

best regards

Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Student Edition released
Next Topic: cyclic colour tables?

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

Current Time: Sat Oct 11 02:36:55 PDT 2025

Total time taken to generate the page: 1.11758 seconds