begin
fname = "$NCARG_ROOT/lib/ncarg/data/cdf/uv300.nc"
f = addfile(fname,"r")
u = f->U(:,:,{82}) ; Read "U" off the file
wks = gsn_open_wks ("png","xy2f")
res = True
res@xyDashPatterns = (/5,8/) ; Dashed patterns
res@xyLineColors = (/"ForestGreen","NavyBlue"/)
res@xyLineThicknesses = (/3,6.5/) ; 3x and 5x thicker
res@tmXBMode = "Explicit" ; Explicitly label X axis
res@tmXBValues = (/-90,-45,0,45,90/) ; Locations of desired tickmarks
; Labels at each tick mark
res@tmXBLabels = (/"90~S~o~N~S","45~S~o~N~S","0","45~S~o~N~N","90~S~o~N~N"/)
res@tmXBMinorOn = False ; Turn off minor ticks
plot = gsn_csm_xy (wks,u&lat,u,res) ; Draw an XY plot
end