;************************************************* ; NCL Graphics: title_1.ncl ;************************************************ 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("uv300.nc","r") u = a->U(0,:,8) ;************************************************ ; create plot ;************************************************ wks = gsn_open_wks("ps","title") res = True ; plot mods desired res@tiMainString = "This is the main title" ; add titles res@tiXAxisString = "This is the X Axis title" res@tiYAxisString = "This is the Y Axis title" plot=gsn_csm_xy(wks,u&lat,u,res) ; create xy plot end