首页 > 代码库 > gravity 时序图绘制,改

gravity 时序图绘制,改

gmt gmtset FONT_TITLE 24,37
gmt gmtset MAP_GRID_PEN_PRIMARY 0.5p,blue
gmt gmtset FORMAT_DATE_IN yyyy-mm-dd FORMAT_DATE_MAP yyyy-mm

set R=-R2008-01-01\T/2017-05-31\T/-100/80
set J=-JX9i/6i
rem x轴格网间隔密度为3个月?
gmt psbasemap %R% %J% -Bxa12O -Bya20 -BWSen+gwhite -U"Drawn by yjl" -K > timeseries.ps

gmt psxy fcx_fzt.txt %R% %J% -W0.8p,red -O -K >> timeseries.ps
gmt psxy ld_fzt.txt %R% %J% -W0.8p,blue -O >> timeseries.ps
rem gmt psconvert timeseries.ps -Tg -P
ps2raster -Tj timeseries.ps -C-sFONTPATH=C:\windows\fonts -A -P
del gmt.*

pause

 

gravity 时序图绘制,改