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

GMT_nearneighbor.sh 664 B

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
  1. #!/usr/bin/env bash
  2. gmt begin GMT_nearneighbor
  3. gmt plot -R0/2/0/2 -Jx1i -Sc1i -Wthick -Glightgreen@70 -Bg0.25 << EOF
  4. 0.75 1.25
  5. EOF
  6. gmt plot -Sc0.05i -Gblack << EOF
  7. 0.04 1.8
  8. 0.3 0.3
  9. 0.31 0.7
  10. 0.65 1.88
  11. 0.9 0.44
  12. 0.88 0.2
  13. 1.3 0.8
  14. 1.72 1.1
  15. 1.33 1.59
  16. 1.8 1.9
  17. 1.82 0.5
  18. 1.6 1.3
  19. #
  20. 0.5 0.9
  21. 0.52 1.52
  22. 0.4 1.2
  23. 1.15 1.3
  24. 1 0.88
  25. EOF
  26. gmt plot -Wthinner << EOF
  27. >
  28. 0.25 1.25
  29. 1.25 1.25
  30. >
  31. 0.75 0.75
  32. 0.75 1.75
  33. EOF
  34. gmt plot -Wthinnest << EOF
  35. >
  36. 0.75 1.25
  37. 0.5 0.9
  38. >
  39. 0.75 1.25
  40. 0.52 1.52
  41. >
  42. 0.75 1.25
  43. 0.4 1.2
  44. >
  45. 0.75 1.25
  46. 1.15 1.3
  47. >
  48. 0.75 1.25
  49. 1 0.88
  50. EOF
  51. gmt plot -W0.5p,.- << EOF
  52. 0.75 1.25
  53. 1.10355 1.60355
  54. EOF
  55. gmt text -F+f8p,Helvetica-Oblique+jBL << EOF
  56. 1 1.4 R
  57. 1.0 1 r@-i@-
  58. EOF
  59. gmt end show
Tip!

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

Comments

Loading...