update files
update all files
This commit is contained in:
5
gmtsph-profile.sh
Normal file → Executable file
5
gmtsph-profile.sh
Normal file → Executable file
@@ -76,12 +76,13 @@ else
|
||||
MAP_GRID_CROSS_SIZE_PRIMARY=2p \
|
||||
FONT_LABEL=7p,Times-Roman,black \
|
||||
MAP_FRAME_AXES=wEsNZ \
|
||||
COLOR_NAN=white \
|
||||
MAP_LABEL_OFFSET=4p
|
||||
|
||||
gmt grd2cpt ${data} -C${color} -Z -D > $cptfile
|
||||
gmt grd2cpt ${data} -C${color} -Z -D -M > $cptfile
|
||||
gmt grdimage ${data} -R${range} -C${cptfile} -Bxag+l"${labels[0]}" -Byag+l"${labels[1]}" -JPa3i/${offangle}z -K -Y1i -P > $psfile
|
||||
gmt psscale -Dx0.4i/-0.25i+w2.2i/0.1i+h -C${cptfile} -Bxa -By+l${unit} -O >> $psfile
|
||||
gmt psconvert $psfile -A -TeG -E300
|
||||
gmt psconvert $psfile -A -TEG -E300
|
||||
# 删除临时文件 使用linux终端rm命令
|
||||
rm $cptfile $psfile gmt.history gmt.conf
|
||||
if [[ $plotgrad == 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user