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 777 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
60
61
62
63
64
65
  1. #!/usr/bin/env bash
  2. gmt begin GMT_nearneighbor ps
  3. gmt set GMT_THEME cookbook
  4. gmt plot -R0/2/0/2 -Jx2i -Sc2i -Wthick -Glightgreen@70 -Bg0.25 << EOF
  5. 0.75 1.25
  6. EOF
  7. gmt plot -Sc0.1i -Gblack << EOF
  8. 0.04 1.8
  9. 0.3 0.3
  10. 0.31 0.7
  11. 0.65 1.88
  12. 0.9 0.44
  13. 0.88 0.2
  14. 1.3 0.8
  15. 1.72 1.1
  16. 1.33 1.59
  17. 1.8 1.9
  18. 1.82 0.5
  19. 1.6 1.3
  20. # inside but not close enough
  21. 0.5 0.9
  22. 0.3 1.3
  23. 0.8 1.7
  24. 0.6 1.65
  25. EOF
  26. gmt plot -Sc0.1i -Gred << EOF
  27. 0.52 1.52
  28. 0.6 1.2
  29. 1.15 1.3
  30. 1 0.88
  31. EOF
  32. gmt plot -Wthinnest << EOF
  33. >
  34. 0.75 1.25
  35. 0.5 0.9
  36. >
  37. 0.75 1.25
  38. 0.52 1.52
  39. >
  40. 0.75 1.25
  41. 0.6 1.2
  42. >
  43. 0.75 1.25
  44. 1.15 1.3
  45. >
  46. 0.75 1.25
  47. 1 0.88
  48. EOF
  49. gmt plot -Wthicker << EOF
  50. >
  51. 0.25 1.25
  52. 1.25 1.25
  53. >
  54. 0.75 0.75
  55. 0.75 1.75
  56. EOF
  57. gmt plot -W1p,- << EOF
  58. 0.75 1.25
  59. 1.10355 1.60355
  60. EOF
  61. gmt text -F+f16p,Times-Italic+jBL << EOF
  62. 1 1.4 R
  63. 1.03 0.93 r@-i@-
  64. EOF
  65. gmt end show
Tip!

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

Comments

Loading...