Skip to content

Commit

Permalink
#38 minor changes/check gmtstrainplot
Browse files Browse the repository at this point in the history
  • Loading branch information
demanast@triangle committed Nov 29, 2018
1 parent d3f2dea commit 5f2479f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot/gmtstrainplot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ then
awk 'NR > 2 {print $2,$1,$23}' $pth2strinfo >tmpdil
# find min max and create cpt file
T=`awk '{print $3}' tmpdil | gmt info -Eh `
Tmax=$(echo "print(round(${T},-1)+10)")
Tmax=$(pythonc "print(round(${T},-1)+10)")
T=`awk '{print $3}' tmpdil | gmt info -El `
Tmin=$(pythonc "print(round(${T},-1)-10)")
gmt makecpt -Cjet -T${Tmin}/${Tmax}/1 > inx.cpt
Expand Down

0 comments on commit 5f2479f

Please sign in to comment.