[cig-commits] [commit] master: include the illumination effect on the color bar in grdmap.sh maps. (05ff572)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jun 25 12:33:49 PDT 2014
Repository : https://github.com/geodynamics/relax
On branch : master
Link : https://github.com/geodynamics/relax/compare/de055c2deaa44d22f6462f942870b1077d57f66f...36c941ac1c9b75c0e89f9641ce8a1869cbbe4909
>---------------------------------------------------------------
commit 05ff572073d07628f60febdc59458cb5e6aeea4e
Author: Sylvain Barbot <sbarbot at ntu.edu.sg>
Date: Wed Jun 25 12:32:38 2014 -0700
include the illumination effect on the color bar in grdmap.sh maps.
>---------------------------------------------------------------
05ff572073d07628f60febdc59458cb5e6aeea4e
util/grdmap.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/util/grdmap.sh b/util/grdmap.sh
index 3e3b121..f620f26 100755
--- a/util/grdmap.sh
+++ b/util/grdmap.sh
@@ -21,7 +21,7 @@ usage(){
echo ""
echo "options:"
echo " -b bds sets the map bound to bds"
- echo " -c palette_name [default my_jet]"
+ echo " -c palette_name [default jet]"
echo " -e file.sh runs file.sh to add content to map"
echo " -g switch to geographic projection (longitude/latitude)"
echo " -h display this error message and exit"
@@ -119,7 +119,7 @@ EOF
if [ -e "$colors" ]; then
#-Q0.20c/1.0c/0.4cn1.0c \
psscale -O -K -B$PSSCALE/:$unit: -D3.5i/-0.8i/7.1i/0.2ih \
- $TRIANGLES -C$colors $REVERT \
+ $TRIANGLES -C$colors $REVERT $illuminationopt \
>> $PSFILE
rm -f $colors
@@ -148,7 +148,7 @@ do
e) eset=1;EXTRA="$EXTRA $OPTARG";;
g) gset="-g";;
h) hset=1;;
- i) iset=1;illumination="-I$OPTARG";;
+ i) iset=1;illumination="-I$OPTARG";illuminationopt="-I";;
o) oset=1;ODIR=$OPTARG;;
p) pset=1;P=$OPTARG;PSSCALE=`echo $OPTARG | awk -F"/" 'function abs(x){return x<0?-x:x}{print abs($2-$1)/6}'`;;
r) rset=1;;
More information about the CIG-COMMITS
mailing list