#!/bin/bash
gmt begin
gmt set FONT_ANNOT_PRIMARY 8p,4
gmt set MAP_FRAME_PEN 0.8p
gmt figure misfit pdf,png A0.1c,E600
gmt basemap -JX8c/6c -R0.01/0.1/0.0496/0.0510 -Bxa0.02f0.01 -Bya0.0004f0.0002 -BWStr
awk -F"," '{if(NR<=10) print $1, $2}' misfit.csv | gmt plot -Sc0.1c -Gred -N
gmt plot misfit.csv -W0.5p+s
gmt inset begin -DjTR+w5c/2.5c -M1c/0/0.5c/0
gmt basemap -JX? -R0.01/0.9/0.0498/0.0510 -Bxa0.2f0.1 -Bya0.0004f0.0002 -BWSrt --FONT_ANNOT_PRIMARY=6p,4 --MAP_TICK_LENGTH_PRIMARY=2p
gmt plot misfit.csv -Sc0.1c -Gred -N
gmt plot misfit.csv -W0.5p+s
gmt inset end
gmt end
效果图:
misfit.png
网友评论