[gradsusr] Line plot by year

Conaty, Austin L. (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] austin.l.conaty at nasa.gov
Tue May 7 10:16:53 EDT 2019


EMily,
/discover/nobackup/aconaty/DEV_20190507_Emily
Is where we were working this morning
________________________________
From: gradsusr <gradsusr-bounces at gradsusr.org> on behalf of Saunders, Emily (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC] <emily.saunders at nasa.gov>
Sent: Monday, May 6, 2019 4:29 PM
To: GrADS Users Forum
Subject: [non-nasa source] [gradsusr] Line plot by year


Hi All,



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.



Example of script:

'set time 'd_start_I''timestring' 'd_end_I''timestringI

*'set time 'timestring' 'timestringI

say result

'q time'

say result

'set z 1'

'set lon 0'

'set lat 0'

'set ccolor 3'

*green

'set cstyle 1'

'set cthick 10'

'cons = 2.687e+20/6.022e+23*48/1.0e+12'

'define tseries = cons*aave(totcol_co,lon=0,lon=360,lat=-90,lat=90)*510.1*1000000000000'

'set parea 1.5 9 1.5 7.5'

'set digsiz 0.10'

'set cmark 3'

*'set vrange 16100 16910'

'd tseries'





Emily Saunders, PhD.

Senior Research Scientist

Global Modeling and Assimilation Office/SSAI

NASA Goddard Space Flight Center Bldg 33, Room B227-A

Code 610.1, Greenbelt, MD, 20771

Office Phone: +1-301-614-6532


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190507/34b5ba15/attachment.html>


More information about the gradsusr mailing list