<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dear Sudev,&nbsp;<div><br></div><div><div><div>On May 21, 2010, at 11:25 AM, sudev das M P wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear Grads users,<br> I am a beginner in GrADS. <br> I have a multi-year time series data. I want to get the annual mean in this data.<br> <br> Please see that from the following I can get monthly time series plot, and it is working fine.<br> <br> 'set lon 30'<br> 'set lat 5'<br> <br> 'set t 2 302'<br></blockquote>Why is this not 'set t 1 302' ?&nbsp;</div><div><br><blockquote type="cite"> <br> *------------------------<br> *Monthly time series<br> *------------------------<br> 'define sstmonth=aave(sst.1,lon=30,<div id=":o1" class="ii gt">lon=78,lat=5,lat=31)'<br></div></blockquote><div><br></div><blockquote type="cite"><div id=":o1" class="ii gt"> 'set gxout line'<br> 'set cmark 4'<br> 'set grads off'<br> 'set ccolor 9'<br> 'd sstmonth'<br> <br> In the same plot, I want to have one more curve showing the annual mean.<br> I mean 26 annual mean values for the 26 years.<br> <br> I don't know how to do this.<br></div></blockquote><div>Try this after you have defined sstmon:</div><div><br></div><div>'set t 1 12' &nbsp;&nbsp;</div><div>'sstann = ave(sstmonth,t+0,t=302,12)'</div><div>'modify sstann seasonal'</div><div><br></div>--Jennifer</div><div><br><blockquote type="cite"><div id=":o1" class="ii gt"> <br> I will highly appreciate if someone can help me in this.<br> <br> Thanks,<br><font color="#888888"> <br> Sudev</font></div> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>