load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" begin ;---Generate dummy u, v arrays npts = 10 ii = ispan(10,10*npts,10) u = conform_dims((/npts,npts/),ii,0) v = conform_dims((/npts,npts/),ii,1) ;---Open workstation wks = gsn_open_wks("x11","vector1b") ;---Set some resources res = True res@vcRefLengthF = 0.1 ; Set reference length ;---Call the plotting function with resource list vector = gsn_csm_vector(wks,u,v,res) end