;************************************************* ; font_5.ncl ; ; Concepts illustrated: ; - Increasing the font size of the main title ; ;************************************************ load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" ;************************************************ begin ;************************************************ ; read in netCDF file ;************************************************ a = addfile("atmos.nc","r") data = a->VT(0,5,:,:) ;************************************************ ; create default plot ;************************************************ wks = gsn_open_wks("ps","font") ; open a ps file gsn_define_colormap(wks,"wgne15") res = True ; plot mods desired res@cnFillOn = True ; turn on color ;---This resource not needed in V6.1.0 res@gsnSpreadColors = True ; use full colormap res@lbOrientation = "Vertical" ; vertical label bar res@tiMainString = "Enlarging your TITLE" ; title plot = gsn_csm_contour_map_ce(wks,data,res) ; create plot ; now change the size of the title res@tiMainFontHeightF = 0.03 plot = gsn_csm_contour_map_ce(wks,data,res) ; create plot end