From 3fe4e4a41a509cc951fcfbab02279b98d0bbe0fd Mon Sep 17 00:00:00 2001 From: pi Date: Thu, 19 Apr 2018 11:05:22 -0700 Subject: [PATCH] update plot size --- gmtsph-regional.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gmtsph-regional.sh b/gmtsph-regional.sh index 0a99a52..b22e33a 100755 --- a/gmtsph-regional.sh +++ b/gmtsph-regional.sh @@ -119,9 +119,9 @@ else if [[ $plotgrad == 1 ]]; then gradfile=usergradient.nc gmt grdgradient ${data} -G${gradfile} -Nt -A0/45 - gmt grdimage ${data} -R${range} -C${cptfile} -I${gradfile} -Bx${axistick[0]}g+l"${labels[0]}" -By${axistick[1]}g+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/2i -K -P > $psfile + gmt grdimage ${data} -R${range} -C${cptfile} -I${gradfile} -Bx${axistick[0]}g+l"${labels[0]}" -By${axistick[1]}g+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/1.5i -K -P > $psfile else - gmt grdimage ${data} -R${range} -C${cptfile} -Bx${axistick[0]}g+l"${labels[0]}" -By${axistick[1]}g+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/2i -K -P > $psfile + gmt grdimage ${data} -R${range} -C${cptfile} -Bx${axistick[0]}g+l"${labels[0]}" -By${axistick[1]}g+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/1.5i -K -P > $psfile fi if [[ $coastline == 1 ]]; then @@ -129,7 +129,7 @@ else fi #-C${cptfile}+Uk 使用km(色标单位除1000) - gmt psscale -Dx0.4i/-0.3i+w1.2i/0.06i+h -C${cptfile} -Bx${bartick} -By+l${unit} -O >> $psfile + gmt psscale -Dx0.125i/-0.3i+w1.2i/0.06i+h -C${cptfile} -Bx${bartick} -By+l${unit} -O >> $psfile gmt psconvert $psfile -A -TEG -E300 # 删除临时文件 使用linux终端rm命令 rm $psfile gmt.history gmt.conf