Permalink
Browse files

Merge pull request #41 from jingxu002/contour_jingxu

等值线标注和线条标注
  • Loading branch information...
2 parents 1058053 + e64d26f commit 76f7781cb2a8a15d551aa377310ea7db7a360d02 @seisman seisman committed on GitHub Jan 12, 2017
Showing with 1,919 additions and 0 deletions.
  1. +4 −0 scripts/GMT_contour-anno1.sh
  2. +4 −0 scripts/GMT_contour-anno2.sh
  3. +10 −0 scripts/GMT_contour-anno3.sh
  4. +4 −0 scripts/GMT_contour-anno4.sh
  5. +4 −0 scripts/GMT_contour-anno5.sh
  6. +5 −0 scripts/GMT_contour-anno6.sh
  7. +5 −0 scripts/GMT_contour-anno7.sh
  8. +6 −0 scripts/GMT_contour-anno8.sh
  9. +27 −0 scripts/GMT_contour-anno9.sh
  10. +35 −0 scripts/cross.txt
  11. +4 −0 scripts/fix.txt
  12. +6 −0 scripts/fix2.txt
  13. BIN scripts/geoid.nc
  14. +534 −0 scripts/great_NY_Canaries.txt
  15. +60 −0 scripts/great_NY_Paris.txt
  16. BIN scripts/topo5.nc
  17. BIN scripts/topo5_int.nc
  18. +766 −0 scripts/transect.txt
  19. +3 −0 scripts/ttt.cpt
  20. BIN scripts/ttt_atl.nc
  21. +1 −0 source/appendix.rst
  22. +441 −0 source/contour-annot.rst
  23. BIN source/images/GMT_App_O_1.ps
  24. BIN source/images/GMT_App_O_2.ps
  25. BIN source/images/GMT_App_O_3.ps
  26. BIN source/images/GMT_App_O_4.ps
  27. BIN source/images/GMT_App_O_5.ps
  28. BIN source/images/GMT_App_O_6.ps
  29. BIN source/images/GMT_App_O_7.ps
  30. BIN source/images/GMT_App_O_8.ps
  31. BIN source/images/GMT_App_O_9.ps
  32. BIN source/images/GMT_contour-anno1.pdf
  33. BIN source/images/GMT_contour-anno1.png
  34. BIN source/images/GMT_contour-anno2.pdf
  35. BIN source/images/GMT_contour-anno2.png
  36. BIN source/images/GMT_contour-anno3.pdf
  37. BIN source/images/GMT_contour-anno3.png
  38. BIN source/images/GMT_contour-anno4.pdf
  39. BIN source/images/GMT_contour-anno4.png
  40. BIN source/images/GMT_contour-anno5.pdf
  41. BIN source/images/GMT_contour-anno5.png
  42. BIN source/images/GMT_contour-anno6.pdf
  43. BIN source/images/GMT_contour-anno6.png
  44. BIN source/images/GMT_contour-anno7.pdf
  45. BIN source/images/GMT_contour-anno7.png
  46. BIN source/images/GMT_contour-anno8.pdf
  47. BIN source/images/GMT_contour-anno8.png
  48. BIN source/images/GMT_contour-anno9.pdf
  49. BIN source/images/GMT_contour-anno9.png
@@ -0,0 +1,4 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno1.ps
+gmt grdcontour geoid.nc -J -O -B20f10 -BWSne -C10 -A20+f8p -Gd1.5i -S10 -T+lLH >> GMT_contour-anno1.ps
+rm gmt.*
@@ -0,0 +1,4 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno2.ps
+gmt grdcontour geoid.nc -J -O -B20f10 -BWSne -C10 -A20+f8p -Gn1/1i -S10 -T+lLH >> GMT_contour-anno2.ps
+rm gmt.*
@@ -0,0 +1,10 @@
+#!/bin/bash
+cat << EOF > fix.txt
+80 -8.5
+55 -7.5
+102 0
+130 10.5
+EOF
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno3.ps
+gmt grdcontour geoid.nc -J -O -B20f10 -BWSne -C10 -A20+d+f8p -Gffix.txt/0.1i -S10 -T+lLH >> GMT_contour-anno3.ps
+rm gmt.*
@@ -0,0 +1,4 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno4.ps
+gmt grdcontour geoid.nc -J -O -B20f10 -BWSne -C10 -A20+d+f8p -GLZ-/Z+ -S10 -T+lLH >> GMT_contour-anno4.ps
+rm gmt.*
@@ -0,0 +1,4 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno5.ps
+gmt grdcontour geoid.nc -J -O -B20f10 -BWSne -C10 -A20+d+f8p -GXcross.txt -S10 -T+lLH >> GMT_contour-anno5.ps
+rm gmt.*
@@ -0,0 +1,5 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno6.ps
+gmt grdcontour geoid.nc -J -O -K -B20f10 -BWSne -C10 -A20+d+f8p -Gl50/10S/160/10S -S10 -T+l >> GMT_contour-anno6.ps
+gmt psxy -R -J -O -SqD1000k:+g+LD+an+p -Wthick transect.txt >> GMT_contour-anno6.ps
+rm gmt.*
@@ -0,0 +1,5 @@
+#!/bin/bash
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno7.ps
+gmt grdcontour geoid.nc -J -O -K -B20f10 -BWSne -C10 -A20+d+u" m"+f8p -Gl50/10S/160/10S -S10 -T+l >> GMT_contour-anno7.ps
+gmt psxy -R -J -O -SqD15d:+gblack+fwhite+LD+o+u\\260 -Wthick transect.txt >> GMT_contour-anno7.ps
+rm gmt.*
@@ -0,0 +1,6 @@
+#!/bin/bash
+gmt convert -i0,1,4 -Em150 transect.txt | gawk '{print $1,$2,int($3)}' > fix2.txt
+gmt pscoast -R50/160/-15/15 -JM5.3i -Gburlywood -Sazure -A500 -K -P > GMT_contour-anno8.ps
+gmt grdcontour geoid.nc -J -O -K -B20f10 -BWSne -C10 -A20+d+u" m"+f8p -Gl50/10S/160/10S -S10 -T+l >> GMT_contour-anno8.ps
+gmt psxy -R -J -O -Sqffix2.txt:+g+an+p+Lf+u" m"+f8p -Wthick transect.txt >> GMT_contour-anno8.ps
+rm gmt.*
@@ -0,0 +1,27 @@
+#!/bin/bash
+R=-R-85/5/10/55
+gmt grdgradient topo5.nc -Nt1 -A45 -Gtopo5_int.nc
+gmt set FORMAT_GEO_MAP ddd:mm:ssF FONT_ANNOT_PRIMARY +9p FONT_TITLE 22p
+gmt project -E-74/41 -C-17/28 -G10 -Q > great_NY_Canaries.txt
+gmt project -E-74/41 -C2.33/48.87 -G100 -Q > great_NY_Paris.txt
+km=`echo -17 28 | gmt mapproject -G-74/41/k -fg --FORMAT_FLOAT_OUT=%.0f -o2`
+cat << EOF > ttt.cpt
+0 lightred 3 lightred
+3 lightyellow 6 lightyellow
+6 lightgreen 100 lightgreen
+EOF
+gmt grdimage ttt_atl.nc -Itopo5_int.nc -Cttt.cpt $R -JM5.3i -P -K -nc+t1 > GMT_contour-anno9.ps
+gmt grdcontour ttt_atl.nc -R -J -O -K -C0.5 -A1+u" hour"+v+f8p,Bookman-Demi -GL80W/31N/17W/26N,17W/28N/17W/50N -S2 >> GMT_contour-anno9.ps
+gmt psxy -R -J -Wfatter,white great_NY_Canaries.txt -O -K >> GMT_contour-anno9.ps
+gmt pscoast -R -J -B20f5 -BWSne+t"Tsunami travel times from the Canaries" -N1/thick -O -K -Glightgray -Wfaint -A500 >> GMT_contour-anno9.ps
+gmt convert great_NY_*.txt -E | gmt psxy -R -J -O -K -Sa0.15i -Gred -Wthin >> GMT_contour-anno9.ps
+gmt psxy -R -J -Wthick great_NY_Canaries.txt -O -K -Sqn1:+f8p,Times-Italic+l"Distance Canaries to New York = $km km"+ap+v >> GMT_contour-anno9.ps
+
+gmt psxy -R -J -Wthinner great_NY_Paris.txt -SqD1000k:+an+o+gblue+LDk+f7p,Helvetica-Bold,white -O -K >> GMT_contour-anno9.ps
+cat << EOF | gmt pstext -R -J -O -K -Gwhite -Wthin -Dj0.1i/0.1i -F+f8p,Bookman-Demi+j >> GMT_contour-anno9.ps
+74W 41N RT New York
+2.33E 48.87N CT Paris
+17W 28N CT Canaries
+EOF
+gmt psxy -R -J -O -T >> GMT_contour-anno9.ps
+rm gmt.*
View
@@ -0,0 +1,35 @@
+>
+58 -11
+63 -6
+
+>
+63 -6
+68 -2
+
+>
+68 -2
+72 -1
+
+>
+72 -1
+78 3
+
+>
+150 3
+158 13
+
+>
+95 -8
+102 -7
+
+>
+102 -7
+110 -8
+
+>
+110 -8
+120 -2
+
+>
+120 -2
+123 0
View
@@ -0,0 +1,4 @@
+80 -8.5
+55 -7.5
+102 0
+130 10.5
View
@@ -0,0 +1,6 @@
+77 4 -3595
+90.3631916207 2.02193063653 -2836
+103.693238887 -0.0652707067064 -6
+117.024382171 -2.14895473069 -9
+130.390638631 -4.11662676531 -4527
+143.818818989 -5.86098872838 2574
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit 76f7781

Please sign in to comment.