begin f = addfile ("$NCARG_ROOT/lib/ncarg/data/cdf/uv300.nc","r") u = f->U(0,:,{82}) ; Read "U" off the file wks = gsn_open_wks ("png","xy2b_zoom3") res = True res@xyLineColor = 2 ; Old way of setting color res@trXMinF = -2 ; Zoom OUT of a region res@trXMaxF = dimsizes(u) + 2 res@trYMinF = min(u) - 15 res@trYMaxF = max(u) + 5 plot = gsn_csm_y (wks,u,res) ; Draw an XY plot end