Update gmtsph-regional.sh
This commit is contained in:
parent
c094cb2ab1
commit
fc596d03fd
@ -161,7 +161,7 @@ else
|
|||||||
#-C${cptfile}+Uk 使用km(色标单位除1000
|
#-C${cptfile}+Uk 使用km(色标单位除1000
|
||||||
#如果unit等于km则在cptfile后面添加+Uk
|
#如果unit等于km则在cptfile后面添加+Uk
|
||||||
if [[ ${unit} == 'km+Uk' ]]; then
|
if [[ ${unit} == 'km+Uk' ]]; then
|
||||||
gmt psscale -Dx${pagePara[1]}+w${pagePara[2]}+h -C${cptfile}+Uk -Bx${bartick} -By+l${unit} -O >> $psfile
|
gmt psscale -Dx${pagePara[1]}+w${pagePara[2]}+h -C${cptfile}+Uk -Bx${bartick} -By+l"km" -O >> $psfile
|
||||||
else
|
else
|
||||||
gmt psscale -Dx${pagePara[1]}+w${pagePara[2]}+h -C${cptfile} -Bx${bartick} -By+l${unit} -O >> $psfile
|
gmt psscale -Dx${pagePara[1]}+w${pagePara[2]}+h -C${cptfile} -Bx${bartick} -By+l${unit} -O >> $psfile
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user