update files
This commit is contained in:
parent
d3b42918fc
commit
f2939716d8
@ -20,6 +20,7 @@ axistick=("a" "a") #横纵坐标轴间隔 a表示自动
|
||||
bartick="a" #色标轴标轴间隔 a表示自动
|
||||
# 不同图幅的绘图参数
|
||||
pageChoice='small' # 默认尺寸为small
|
||||
exSmallpage="1i,0.08i/-0.2i,0.85i/0.03i"
|
||||
smallPage="1.5i,0.125i/-0.3i,1.2i/0.06i" # 图大小,色标位置,色标尺寸
|
||||
middlePage="2i,0.2i/-0.35i,1.5i/0.07i"
|
||||
largePage="2.5i,0.35i/-0.4i,1.75i/0.08i"
|
||||
@ -38,7 +39,7 @@ For further explanations, please look for GMT's manuscripts.\nAuthor: Yi Zhang (
|
||||
printf "%s\t%s\n" "-a" "axis labels. The deafults are x (m) and y (m)."
|
||||
printf "%s\t%s\n" "-t" "intervals of axis's labels. the script will set the intervals automatically if -t option is not set."
|
||||
printf "%s\t%s\n" "-v" "intervals of color bar's labels. the script will set the intervals automatically if -v option is not set."
|
||||
printf "%s\t%s\n" "-l" "image layout and size. three available options are small(1.5 inch wide), middle and large."
|
||||
printf "%s\t%s\n" "-l" "image layout and size. three available options are exsmall, small(1.5 inch wide), middle and large."
|
||||
printf "%s\t%s\n" "-b" "draw coast line."
|
||||
printf "%s\t%s\n" "-g" "use grdgradient. The default is false."
|
||||
printf "%s\t%s\n" "-G" "provide a different input grid data for the use of grdgradient. This should be used with the '-g' option at the same time"
|
||||
@ -106,7 +107,7 @@ else
|
||||
fi
|
||||
# 设置绘图参数
|
||||
gmt gmtset \
|
||||
FONT_ANNOT_PRIMARY=8p,Times-Roman,black \
|
||||
FONT_ANNOT_PRIMARY=7p,Times-Roman,black \
|
||||
MAP_FRAME_PEN=thinnest,black \
|
||||
MAP_FRAME_WIDTH=1p \
|
||||
MAP_TICK_LENGTH_PRIMARY=1.5p/1p \
|
||||
@ -116,7 +117,8 @@ else
|
||||
FONT_LABEL=8p,Times-Roman,black \
|
||||
MAP_FRAME_AXES=WESnZ \
|
||||
COLOR_NAN=white \
|
||||
MAP_LABEL_OFFSET=2.5p
|
||||
MAP_LABEL_OFFSET=1.5p\
|
||||
MAP_ANNOT_OFFSET_PRIMARY=2.5p
|
||||
# 设置色标文件
|
||||
if [[ $nocpt == 1 ]]; then
|
||||
cptfile=${color}
|
||||
@ -130,6 +132,8 @@ else
|
||||
# 设置绘图尺寸 如果识别参数失败 则还是按small处理
|
||||
if [[ $pageChoice == 'small' ]]; then
|
||||
pagePara=(${smallPage//,/ })
|
||||
elif [[ $pageChoice == 'exsmall' ]]; then
|
||||
pagePara=(${exSmallpage//,/ })
|
||||
elif [[ $pageChoice == 'middle' ]]; then
|
||||
pagePara=(${middlePage//,/ })
|
||||
elif [[ $pageChoice == 'large' ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user