From 9b3cdb2a5715b074000230c9c4401f9aaa5daecd Mon Sep 17 00:00:00 2001 From: pi Date: Thu, 19 Jul 2018 12:45:12 -0700 Subject: [PATCH] changed default color pattarn table name --- gmtsph-JA.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gmtsph-JA.sh b/gmtsph-JA.sh index 835eafa..3631470 100755 --- a/gmtsph-JA.sh +++ b/gmtsph-JA.sh @@ -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