;================================================; ; maponly_3.ncl ;================================================; ; ; Concepts illustrated: ; - Changing the color of the oceans, land, and inland water areas ; load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ; ================================================; begin wks = gsn_open_wks("ps","maponly") ; open a ps file gsn_define_colormap(wks,"wh-bl-gr-ye-re") ; choose a colormap res = True ; mods desdired res@mpOceanFillColor = 5 ; array index in color map res@mpLandFillColor = 164 ; for land, ocean, and inland h20 res@mpInlandWaterFillColor = 54 res@mpMinLonF = 0 res@mpMaxLonF = 360 res@mpCenterLonF = 180 ; This is necessary to get the correct map plot = gsn_csm_map_ce(wks,res) ; draw global map end