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_zoom1") res = True res@xyLineColor = 2 ; Old way of setting color res@trXMaxF = dimsizes(u)-1 ; Set max of X axis to 63 res@trYMinF = min(u) ; Set min of Y axis to min(u) plot = gsn_csm_y (wks,u,res) ; Draw an XY plot end