update plot size
This commit is contained in:
parent
66ac47bb56
commit
2fca6689da
@ -111,9 +111,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} -Bxag+l"${labels[0]}" -Byag+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/1.5i -K -P > $psfile
|
||||
gmt grdimage ${data} -R${range} -C${cptfile} -I${gradfile} -Bxag+l"${labels[0]}" -Byag+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/2i -K -P > $psfile
|
||||
else
|
||||
gmt grdimage ${data} -R${range} -C${cptfile} -Bxag+l"${labels[0]}" -Byag+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/1.5i -K -P > $psfile
|
||||
gmt grdimage ${data} -R${range} -C${cptfile} -Bxag+l"${labels[0]}" -Byag+l"${labels[1]}" -JL${plot_para[0]}/${plot_para[1]}/${plot_para[2]}/${plot_para[3]}/2i -K -P > $psfile
|
||||
fi
|
||||
|
||||
if [[ $coastline == 1 ]]; then
|
||||
@ -121,7 +121,7 @@ else
|
||||
fi
|
||||
|
||||
#-C${cptfile}+Uk 使用km(色标单位除1000)
|
||||
gmt psscale -Dx0.13i/-0.3i+w1.2i/0.06i+h -C${cptfile} -Bxa -By+l${unit} -O >> $psfile
|
||||
gmt psscale -Dx0.4i/-0.3i+w1.2i/0.06i+h -C${cptfile} -Bxa -By+l${unit} -O >> $psfile
|
||||
gmt psconvert $psfile -A -TEG -E300
|
||||
# 删除临时文件 使用linux终端rm命令
|
||||
rm $psfile gmt.history gmt.conf
|
||||
|
Loading…
Reference in New Issue
Block a user