load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" begin ;---Generate some dummy data. data1 = generate_2d_array(10, 12, -20., 17., 0, (/129,129/)) wks = gsn_open_wks("x11","panel_ex") ; Open X11 window gsn_define_colormap(wks,"testcmap") ; Change colormap ;---Set up resources. res = True res@gsnMaximize = True ; Maximize plot in frame res@cnFillOn = True ; Turn on contour fill res@cnLinesOn = False ; Turn off contour lines plot = gsn_csm_contour(wks,data1,res) ; Create and draw contours end