sdfopen /grove3/iesuw/ccm1/CCM1-CNTROLPI-MONE0510.nc enable print xy.time.prt set grid off set grads off *define area and time averages *set time 1 12 to index through all months set t 1 12 *nino34 = monthly average over nino 3.4 region define nino34=aave(ts,lon=-170,lon=-120,lat=-5,lat=5) *avgSST = annual average over nino 3.4 region define avgSST= ave(nino34,t=1,t=12) *plot set y 1 *set xaxis labels to be 1 - 12 (month number) set xaxis 1 12 1 *turn grads label off set grads off *set line marker for nino34 plot to be closed circles set cmark 3 *draw monthly averages (line plot) d nino34 *set line marker for ann average (horiz. line to be solid, no markers) *and draw set cmark 0 d avgSST *draw axis labels and title draw ylab Nino 3.4 Region SST (5N-5S, 170W-120W) draw xlab time draw title Nino 3.4 Region SST Time Series (Horiz. Line = Ann Avg) print disable print