Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

geodesy_01.sh 2.4 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  1. #!/usr/bin/env bash
  2. #
  3. ps=geodesy_01.ps
  4. gmt set PROJ_LENGTH_UNIT inch MAP_VECTOR_SHAPE 0.4 MAP_TICK_LENGTH_PRIMARY 0.075i MAP_FRAME_WIDTH 0.1i MAP_ORIGIN_X 2.5c MAP_ORIGIN_Y 1.3i
  5. # The example should plot some residual rates of rotation in
  6. # the Western Transverse Ranges, California. The wedges will
  7. # be dark gray, with light gray wedges to represent the 2-
  8. # sigma uncertainties.
  9. gmt psvelo << EOF -X2i -Y5i -Jm1.3i -R238.5/242/32.5/35.5 -B2 -BWeSn+tpsvelo \
  10. -Sw0.4/1.e7 -W0.25p -G60 -E210 -D2 -P -K > $ps
  11. # lon lat spin(rad/yr) spin_sigma (rad/yr)
  12. 241.4806 34.2073 5.65E-08 1.17E-08
  13. 241.6024 34.4468 -4.85E-08 1.85E-08
  14. 241.0952 34.4079 4.46E-09 3.07E-08
  15. EOF
  16. # omit the shading
  17. gmt psvelo -J -R -Sw0.4/1.e7 -W0.25p -D2 -O -K << EOF >> $ps
  18. # lon lat spin(rad/yr) spin_sigma (rad/yr)
  19. 241.2542 34.2581 1.28E-07 1.59E-08
  20. 242.0593 34.0773 -6.62E-08 1.74E-08
  21. 241.0553 34.5369 -2.38E-07 4.27E-08
  22. 241.1993 33.1894 -2.99E-10 7.64E-09
  23. 241.1084 34.2565 2.17E-08 3.53E-08
  24. EOF
  25. # hit the beach
  26. gmt pscoast -O -R -J -W0.25p -Di -K >> $ps
  27. # The following should make big green arrows with blue
  28. # ellipses, outlined in red. Note that the 39% confidence
  29. # scaling will give an ellipse which fits inside a rectangle
  30. # of dimension Esig by Nsig.
  31. #
  32. gmt psvelo -Y-4.5i -R-10/10/-10/10 -W3p,red \
  33. -Se0.2/0.39+f12p -B1g1 -BWeSn -Jx0.2i -Ggreen -Eblue -Lthin,red -N \
  34. -A1c+e -O -K << EOF >> $ps
  35. # Long. Lat. Evel Nvel Esig Nsig CorEN SITE
  36. # (deg) (deg) (mm/yr) (mm/yr)
  37. -10. 0. 5.0 0.0 4.0 6.0 0.500 4x6
  38. -5. 0. 0.0 5.0 4.0 6.0 0.500 4x6
  39. -5. 5. -5.0 0.0 4.0 6.0 0.500 4x6
  40. -10. 5. 0.0 -5.0 0.0 0.0 0.500 4x6
  41. -1. 5. 3.0 3.0 1.0 1.0 0.100 3x3
  42. EOF
  43. # simpler colors, labeled with following font
  44. gmt set FONT_ANNOT_PRIMARY Helvetica
  45. gmt psvelo -Se0.2/0.39+f18p -R -J -A0.25c+p0.25p+e+gblack -O << EOF >> $ps
  46. # Long. Lat. Evel Nvel Esig Nsig CorEN SITE
  47. # (deg) (deg) (mm/yr) (mm/yr)
  48. 0. -8. 0.0 0.0 4.0 6.0 0.100 4x6
  49. -8. 5. 3.0 3.0 0.0 0.0 0.200 3x3
  50. 0. 0. 4.0 6.0 4.0 6.0 0.300
  51. -5. -5. 6.0 4.0 6.0 4.0 0.400 6x4
  52. 5. 0. -6.0 4.0 6.0 4.0 -0.300 -6x4
  53. 0. -5. 6.0 -4.0 6.0 4.0 -0.500 6x-4
  54. EOF
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...