;*********************************************** ; colors_10.ncl ;************************************************ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ;************************************************ begin wks = gsn_open_wks("ps","color") ; open a ps file cmap = RGBtoCmap("test.rgb") ; RCGtoCmap in contributed gsn_define_colormap(wks,cmap) ; create the color map gsn_draw_colormap(wks) ; draw the colormap end