pro load_color_table,table,black,white,topcolor,offset,totalcolors,ncolors ;---------------------------------------------------------------------------------- ; Routine loads the HALOE color table and returns relevant parameters ; ; Input: ; Edit the file name location on line 21 to have the right path, then it will work ; ; Output: ; table.........number of the table ; white.........number of the color white ; black.........number of the color black ; topcolor......number of the highest color in the table ; offset........binary offset value ; totalcolor....number of colors in the table ; ncolors.......number of usable colors in the table ; ; Source: Mark Hervig ;---------------------------------------------------------------------------------- file = '/Users/mhervig/idllib/plotting/colors_haloe.tbl' table = 2 white = 255 black = 251 topcolor = 250 offset = 0B totalcolors = 256 ncolors = 251 loadct,table,file=file return end