changed default color pattarn table name

This commit is contained in:
张壹 2018-07-19 12:45:12 -07:00
parent df067832a8
commit 9b3cdb2a57

View File

@ -6,7 +6,7 @@
data='null'
gridData='null'
unit='m'
color='rainbow'
color='rainbow -Z'
range='null'
overwriteRange='null'
overwrite=0
@ -28,7 +28,7 @@ For futher explanations, please look for GMT's manuscripts.\nAuthor: Yi Zhang (z
printf "%s\t%s\n" "-r" "data range. The template will ditect the input data range automaticly, the use of this option will overwrite the range."
printf "%s\t%s\n" "-l" "central longitude and latitude values of the plot, the default value is 0/0/115,180/0/115. "
printf "%s\t%s\n" "-u" "data unit. The default is meter. use 'km+Uk' to append '+Uk' option to the psscale command"
printf "%s\t%s\n" "-c" "color cpt. The default is rainbow."
printf "%s\t%s\n" "-c" "color cpt. The default is 'rainbow -Z' in which '-Z' tells the grd2cpt to make a continuous cpt-file, remove it to disable the function."
printf "%s\t%s\n" "-s" "plot the day-night terminator. The default is false."
printf "%s\t%s\n" "-a" "axis labels. The deafults are x (m) and y (m)."
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."
@ -92,7 +92,7 @@ else
MAP_FRAME_AXES=WESnZ \
MAP_LABEL_OFFSET=2.5p
gmt grd2cpt ${data} -R${range} -C${color} -Z -D > $cptfile
gmt grd2cpt ${data} -R${range} -C${color} -D > $cptfile
if [[ $plotgrad == 1 ]]; then
gradfile=${data%.*}Grad.nc
if [[ $gridData == 'null' ]]; then