<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
EMily,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/discover/nobackup/aconaty/DEV_20190507_Emily</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is where we were working this morning<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Saunders, Emily (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] <emily.saunders@nasa.gov><br>
<b>Sent:</b> Monday, May 6, 2019 4:29 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> [non-nasa source] [gradsusr] Line plot by year</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Helvetica}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Menlo}
@font-face
        {}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.x_MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
span.x_EmailStyle17
        {font-family:Helvetica;
        color:windowtext;
        font-weight:normal;
        font-style:normal}
p.x_p1, li.x_p1, div.x_p1
        {margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:#33BBC8}
p.x_p2, li.x_p2, div.x_p2
        {margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:#5230E1}
p.x_p3, li.x_p3, div.x_p3
        {margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:#D53BD3}
p.x_p4, li.x_p4, div.x_p4
        {margin:0in;
        margin-bottom:.0001pt;
        background:white;
        font-size:8.5pt;
        font-family:Menlo;
        color:#C33720}
span.x_s1
        {color:#C33720}
span.x_s3
        {color:#D53BD3}
span.x_s4
        {color:#CD7923}
span.x_s5
        {color:black}
span.x_s2
        {}
.x_MsoChpDefault
        {font-family:"Calibri",sans-serif}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-family:Helvetica">Hi All,</span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica"> </span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica">I wanted to know how to plot daily averages by year on one line plot (see attached image). Currently, I created daily averages for all of 2018 and 2019, but I would like to plot all daily averages on
 one plot based upon the year. Thank you for your help in advanced.</span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica"> </span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica">Example of script:</span></p>
<p class="x_p1"><span class="x_s1">'set time '</span><span class="x_s2">d</span><span class="x_s3">_start_I</span><span class="x_s1">''</span><span class="x_s2">timestring</span><span class="x_s1">' '</span><span class="x_s2">d</span><span class="x_s3">_end_I</span><span class="x_s1">''</span><span class="x_s2">timestringI</span></p>
<p class="x_p2"><span class="x_s2">*'set time 'timestring' 'timestringI</span></p>
<p class="x_p3"><span class="x_s4">say</span><span class="x_s5"> </span><span class="x_s2">result</span></p>
<p class="x_p4"><span class="x_s2">'q time'</span></p>
<p class="x_p3"><span class="x_s4">say</span><span class="x_s5"> </span><span class="x_s2">result</span></p>
<p class="x_p4"><span class="x_s2">'set z 1'</span></p>
<p class="x_p4"><span class="x_s2">'set lon 0'</span></p>
<p class="x_p4"><span class="x_s2">'set lat 0'</span></p>
<p class="x_p4"><span class="x_s2">'set ccolor 3'</span></p>
<p class="x_p2"><span class="x_s2">*green</span></p>
<p class="x_p4"><span class="x_s2">'set cstyle 1'</span></p>
<p class="x_p4"><span class="x_s2">'set cthick 10'</span></p>
<p class="x_p4"><span class="x_s2">'cons = 2.687e+20/6.022e+23*48/1.0e+12'</span></p>
<p class="x_p4"><span class="x_s2">'define tseries = cons*aave(totcol_co,lon=0,lon=360,lat=-90,lat=90)*510.1*1000000000000'</span></p>
<p class="x_p4"><span class="x_s2">'set parea 1.5 9 1.5 7.5'</span></p>
<p class="x_p4"><span class="x_s2">'set digsiz 0.10'</span></p>
<p class="x_p4"><span class="x_s2">'set cmark 3'</span></p>
<p class="x_p2"><span class="x_s2">*'set vrange 16100 16910'</span></p>
<p class="x_p2"><span class="x_s2">'d tseries'</span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica"> </span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica"> </span></p>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">Emily Saunders, PhD.</span></p>
<div>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">Senior Research Scientist</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">Global Modeling and Assimilation Office/SSAI</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">NASA Goddard Space Flight Center Bldg 33, Room B227-A</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">Code 610.1, Greenbelt, MD, 20771</span></p>
</div>
<div>
<p class="x_MsoNormal"><span style="font-family:Helvetica; color:black">Office Phone: +1-301-614-6532</span></p>
</div>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>