f = addfile ("uv300.nc","r") u = f->U ; read U wks = gsn_open_wks ("x11","prim1a") res = True res@xyMonoDashPattern = True ; use solid lines only res@xyLineColors = (/"NavyBlue","Brown3"/) res@xyLineThicknessF = 2.0 res@xyMarkLineMode = "MarkLines" ; draw as lines and markers res@gsnFrame = False ; turn off frame advance res@gsnDraw = False ; turn off draw lon = 82 ; Which longitude to select plot = gsn_csm_xy (wks,u&lat,u(:,:,{lon}),res) lonstr = "lon = " + lon txres = True ; resource list for text string txres@txFontHeightF = 0.02 ; make the font smaller gsn_text(wks,plot,lonstr,-30,45,txres) tstr1 = "January" tstr2 = "July" txres@txJust = "CenterLeft" txres@txFontColor = "NavyBlue" id = gsn_add_text(wks,plot,tstr1,-60,-5,txres) txres@txFontColor = "Brown3" id = gsn_add_text(wks,plot,tstr2,-60,0,txres) draw(plot) ; will draw the "Jan" and "Jul" text strings frame(wks) ; advance the frame here