《GRADS绘图实例教程.doc》由会员分享,可在线阅读,更多相关《GRADS绘图实例教程.doc(18页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、500mb高度场等直线图.gs文件* Draw the COR.COEF SST and nhc000*reinitenable print h9601.31clearopen hs.ctlset dfile 1set vpage 0.5 10. 0.2 8.5set lon 0. 360.set lat -90. 90.set mproj latlonset mpdset mresset poli offset ylint 10. set xlint 20. set csmooth onset csmooth onset csmooth onset csmooth onset csmooth
2、 onset csmooth onset csmooth onset csmooth onset clopts -1 -1 0.06set clab forcedset cint 40.set gxout contourset cthick 4set grads offd rsst55set string 3 c 5 0set strsiz 0.14draw string 4.5 7.5 1996.1.31 Global 500mb Geopotential Height Fieldprintpull dummy.ctl文件DSET h9601.31aTITLE heightFORMAT yr
3、evUNDEF -9999.00XDEF 145 LINEAR 0. 2.5YDEF 73 LINEAR -90. 2.5ZDEF 1 LINEAR 1 1 TDEF 1 LINEAR jan1960 1moVARS 1RSST55 0 99 COR.COEF ENDVARS图形降水异常场.gs文件* Draw Precipitation Anomalous Field*reinitenable print spad6754.metclearopen prp.ctlset dfile 1set vpage 0.5 11.0 0.5 8.5set lon -180. 180.set lat -9
4、0. 90.set mproj latlonset mpdset mresset poli offset ylint 10. set xlint 20. set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset gxout shadedset cmin 0 set grads offd psset cint 1.set clopts -1 -1 0.05set xlint 20.set ylint 10.set gxout
5、 contourset ccolor rainbowset clab forcedset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 6d psset string 3 c 4 0set strsiz 0.14draw string 5.2 8. The Summer Precipitation Difference of 54-63 and 67-76 (interval = 1.) printpul
6、l dummy.ctl文件DSET spad54.67aTITLE PrecipitationUNDEF -9999.0XDEF 145 LINEAR -180. 2.5YDEF 73 LINEAR -90. 2.5ZDEF 1 LINEAR 1 1 TDEF 1 LINEAR jan1960 1moVARS 1ps 0 99 COR.COEF ENDVARS图形风速矢量场.gs文件reinitenable print uvd56.850clearopen uw.ctlopen vw.ctlset dfile 1set grads offset vpage 1. 8.5 0.2 5.8 set
7、 lat -90 90set lon 0 360set t 1set mproj scaledset xlint 30set ylint 30set gxout vectorset arrscl 0.5 8*set arrowhead 0.2*set clab forcedset grads offset grid offset ylopts 1 5 0.12set xlopts 1 5 0.12set map 1 1 1d skip(-u.1,2);(-v.2)*d u.3;v.4set string 4 tl 4set strsiz 0.12 0.14draw string 0.5 0.3
8、 850mb ud*vd for 1958-63 and 1967-76printpull dummyuw.ctl文件DSET ud85.56aTITLE SURFACE PRESSURE AND WIND ANOMALYFORMAT yrevUNDEF -9996.00XDEF 145 LINEAR 0 2.5YDEF 73 LINEAR -90 2.5ZDEF 1 LINEAR 1 1 TDEF 1 linear JAN00 1moVARS 1u 0 99 u windENDVARSvw.ctl文件DSET vd85.56aTITLE SURFACE PRESSURE AND WIND A
9、NOMALYFORMAT yrevUNDEF -9996.00XDEF 145 LINEAR 0 2.5YDEF 73 LINEAR -90 2.5ZDEF 1 LINEAR 1 1 TDEF 1 linear JAN00 1moVARS 1v 0 99 v windENDVARS图形剖面流线图.gs文件reinitenable print uw35.metclearopen uu.ctlopen wu.ctlset vpage 0.5 11. 0.5 8.5set lat 10set lon 40 240set vrange 1000 100 set ylint -100set zlog o
10、nset gxout streamset strmden 6set z 1 12set grads offd uu.1;(-wu.2*30)set strsiz 0.18 0.15draw string 1.8 0.3 u*(-w*30) for 35N in July for 1980-1995 print pull dummyuu.ctl文件DSET um.35aTITLE SURFACE PRESSURE AND WIND ANOMALYUNDEF -9996.00YDEF 1 LINEAR 10 1XDEF 81 LINEAR 40 2.5ZDEF 12 Levels 1000 925
11、 850 700 600 500 400 300 250 200 150 100TDEF 1 linear JAN00 1moVARS 1uu 12 99 v windENDVARSwu.ctl文件DSET wm.35aTITLE SURFACE PRESSURE AND WIND ANOMALYUNDEF -9996.00YDEF 1 LINEAR 10 1XDEF 81 LINEAR 40 2.5ZDEF 12 Levels 1000 925 850 700 600 500 400 300 250 200 150 100TDEF 1 linear JAN00 1moVARS 1wu 12
12、99 w windENDVARS图形时间演变图lat.gs文件* Draw the Latitude-year section*reinitenable print tlatr20.metclearopen lat.ctlset dfile 1set vpage 0.5 11. 0.5 8.5set t 1 40set lat -90 90set lon 357.5set ylint 5. set xlint 5. set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cs
13、mooth onset csmooth onset gxout shadedset cmax 0. set grads offset xyrev onset cint 0.5set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lon=0,lon=357.5)set clopts -1 -1 0.05set xlint 5.set ylint 5.set gxout contourset clab forcedset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmoot
14、h onset csmooth onset csmooth onset cthick 4set cint 0.5set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lon=0,lon=357.5)set string 3 c 4 0set strsiz 0.18set strsiz 0.10draw string 6. 8.2 1958-96 summer 200mb Temperature Zonal Mean (0-357.5E,90S- 90N),interval=0.5 Cprintpull dummylat.Ctl文件DSET t20ar.40aTITLE
15、 COR.COEFFORMAT yrevUNDEF -327.68XDEF 144 LINEAR 0 2.5YDEF 73 LINEAR -90 2.5ZDEF 1 LEVELS 1000 TDEF 40 LINEAR jul1958 1yrVARS 1ps 0 99 COR.COEF ENDVARS图形* Draw the COR.COEF SST and nhc000*reinitenable print tlonr20.metclearopen lon.ctlset dfile 1set vpage 0.5 11. 0.5 8.5set t 1 40set lon 0 357.5set
16、lat -90set ylint 10. set xlint 5. set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset gxout shadedset cmax 0. set grads offset xyrev onset cint .3set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lat=-90,lat=90)set clopts -1 -1 0.05set xlint 5.se
17、t ylint 10.set gxout contour*set clab forcedset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 4set cint .3set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lat=-90,lat=90)set string 3 c 4 0set strsiz 0.13draw string 6. 8.2 1958-96 200mb
18、Temperature Meridional Mean (0-357.5E,90S- 90N),interval=0.3 Cprintpull dummylon.gs文件* Draw the COR.COEF SST and nhc000*reinitenable print tlonr20.metclearopen lon.ctlset dfile 1set vpage 0.5 11. 0.5 8.5set t 1 40set lon 0 357.5set lat -90set ylint 10. set xlint 5. set csmooth onset csmooth onset cs
19、mooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset gxout shadedset cmax 0. set grads offset xyrev onset cint .3set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lat=-90,lat=90)set clopts -1 -1 0.05set xlint 5.set ylint 10.set gxout contour*set clab forcedset csmooth onset csmoot
20、h onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 4set cint .3set ccols 0 0 5 5 5 5 5 5 5 5 5d ave(ps,lat=-90,lat=90)set string 3 c 4 0set strsiz 0.13draw string 6. 8.2 1958-96 200mb Temperature Meridional Mean (0-357.5E,90S- 90N),interval=0.3 Cprintp
21、ull dummylon.ctl文件DSET t20ar.40aTITLE COR.COEFFORMAT yrevUNDEF -327.68XDEF 144 LINEAR 0 2.5YDEF 73 LINEAR -90 2.5ZDEF 1 LEVELS 1000 TDEF 40 LINEAR jul1958 1yrVARS 1ps 0 99 COR.COEF ENDVARS图形曲线图.gs文件reinitenable print sahan2.metclearopen sah1.ctlset dfile 1set vpage 0.5 11. 0.5 8.5set csmooth onset c
22、smooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset gxout lineset t 1 14set vrange 52.0 62.0set xaxis 1984 1997 5set cmark 2set cstyle 2set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cth
23、ick 6set grads offd pr4set string 3 c 4 0set strsiz 0.20printpull dummy.ctl文件DSET sahr2.01aTITLE COR.COEFUNDEF -9999.99XDEF 1 LINEAR 1 1YDEF 1 LINEAR 1 1ZDEF 1 LINEAR 1 1 TDEF 14 LINEAR jan1900 1yrVARS 1pr4 0 99 COR.COEF ENDVARS图形一页多图.gs文件* Draw line*Reinitenable print awi2.metclearopen aam.ctlopen
24、am1.ctlopen am2.ctlopen am3.ctlset dfile 1set vpage 0.5 10.5 0.5 8.0set gxout lineset t 1 90set vrange -110. 190.set xaxis 1900 1989 10*set yaxis -140. 200. 50.set cmark 0set cstyle 1set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset c
25、thick 6d rsst55set dfile 2set vpage 0.5 10.5 0.5 8.0set gxout lineset t 1 90set vrange -110. 190.set xaxis 1900 1989 10*set yaxis -140. 200. 50.set cmark 0set cstyle 2set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 6d rsst55s
26、et dfile 3set vpage 0.5 10.5 0.5 8.0set gxout lineset t 1 90set vrange -110. 190.set xaxis 1900 1989 10*set yaxis -130. 120. 100.set cmark 0set cstyle 3set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 6d rsst55set dfile 4set v
27、page 0.5 10.5 0.5 8.0set gxout lineset t 1 90set vrange -110. 190.set xaxis 1900 1989 10*set yaxis -130. 120. 100.set cmark 0set cstyle 5set csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset csmooth onset cthick 6d rsst55set string 3 c 4 0set strsiz 0.
28、17draw string 6.0 8.0 Asia-Africa Summer Precipitation Anomalies Time Series set grads offprintpull dummyaam.ctl文件DSET uam.39aTITLE COR.COEFUNDEF -9999.99XDEF 1 LINEAR 1 1YDEF 1 LINEAR 1 1ZDEF 1 LINEAR 1 1 TDEF 39 LINEAR jan1900 1yrVARS 1RSST55 0 99 COR.COEF ENDVARSam1.ctl文件DSET ssr.01aTITLE COR.COE
29、FUNDEF -9999.99XDEF 1 LINEAR 1 1YDEF 1 LINEAR 1 1ZDEF 1 LINEAR 1 1 TDEF 96 LINEAR jan1900 1yrVARS 1sar 0 99 COR.COEF ENDVARSam2.ctl文件DSET csr.01aTITLE COR.COEFUNDEF -9999.99XDEF 1 LINEAR 1 1YDEF 1 LINEAR 1 1ZDEF 1 LINEAR 1 1 TDEF 96 LINEAR jan1900 1yrVARS 1chr 0 99 COR.COEF ENDVARSam3.ctl文件DSET wwi1.40aTITLE COR.COEFUNDEF -9999.99XDEF 1 LINEAR 1 1YDEF 1 LINEAR 1 1ZDEF 1 LINEAR 1 1 TDEF 40 LINEAR jan1900 1yrVARS 1RSST55 0 99 COR.COEF ENDVARS
限制150内