;************************************************* ; a default black and white plot with the default ; ncl labeling. All neg contour lines are dashed ; and the zero line is made to be double thickness. ;************************************************ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" load "/home/tgcm/ncl/web_ex/func_lib/halfzp2full.ncl" ;************************************************ begin in = addfile("/chewy/d/murphys/files/pyrj001.nc","r") ; pointer to file x = in->TN ; read in data x = halfzp("TN",x) ; convert to full zp ut = in->ut ; required for local time axis l2plt = 4 ; level index to plot t2plt = 2 ; time index to plot ;************************************************ ; create plot ;************************************************ wks = gsn_open_wks("ps" ,"ce") ; open a ps file res = True ; plot mods desired res@cnLineLabelPlacementMode = "constant" ; best line label mode res@tiMainString = "Default Black and White Plot" res@gsnCenterString = "UT = "+ut(t2plt)+" zplev = "+x&lev(l2plt) plot = gsn_csm_contour_map_ce(wks,x(t2plt,l2plt,:,:), res) end