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

coast.rst 2.5 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
  1. .. index:: ! coast
  2. .. include:: module_core_purpose.rst_
  3. *****
  4. coast
  5. *****
  6. |coast_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt coast** |-J|\ *parameters*
  11. |SYN_OPT-R|
  12. [ |SYN_OPT-Area| ]
  13. [ |SYN_OPT-B| ]
  14. [ |-C|\ *fill*\ [**+l**\|\ **r**] ]
  15. [ |-D|\ *resolution*\ [**+f**] ]
  16. [ |-E|\ *dcw* ]
  17. [ |-F|\ *box* ]
  18. [ |-G|\ [*fill*] ]
  19. [ |-I|\ *river*\ [/\ *pen*] ]
  20. [ |-J|\ **z**\|\ **Z**\ *parameters* ]
  21. [ |-L|\ *scalebar* ]
  22. [ |-M| ]
  23. [ |-N|\ *border*\ [/*pen*] ]
  24. [ |-Q| ]
  25. [ |-S|\ [*fill*] ]
  26. [ |-T|\ *rose* ]
  27. [ |SYN_OPT-U| ]
  28. [ |SYN_OPT-V| ]
  29. [ |-W|\ [*level*/]\ *pen* ]
  30. [ |SYN_OPT-X| ]
  31. [ |SYN_OPT-Y| ]
  32. [ |SYN_OPT-bo| ]
  33. [ |SYN_OPT-p| ]
  34. [ |SYN_OPT-t| ]
  35. [ |SYN_OPT--| ]
  36. .. include:: coast_common.rst_
  37. Examples
  38. --------
  39. .. include:: oneliner_info.rst_
  40. To plot a green Africa with white outline on blue background, with
  41. permanent major rivers in thick blue pen, additional major rivers in
  42. thin blue pen, and national borders as dashed lines on a Mercator map at
  43. scale 0.1 inch/degree, use::
  44. gmt coast -R-30/30/-40/40 -Jm0.1i -B5 -I1/1p,blue -N1/0.25p,- \
  45. -I2/0.25p,blue -W0.25p,white -Ggreen -Sblue -pdf africa
  46. To plot Iceland using the lava pattern (# 28) at 100 dots per inch, on a
  47. Mercator map at scale 1 cm/degree, run::
  48. gmt coast -RIS+r1 -Jm1c -B -Wthin -Gp28+r100 -pdf iceland
  49. To initiate a clip path for Africa so that the subsequent colorimage of
  50. gridded topography is only seen over land, using a Mercator map at scale
  51. 0.1 inch/degree, use::
  52. gmt begin
  53. gmt coast -R-30/30/-40/40 -Jm0.1i -B -G
  54. gmt grdimage @earth_relief_05m
  55. gmt coast -Q
  56. gmt end show
  57. To plot Great Britain, Italy, and France in blue with a red outline and
  58. Spain, Portugal and Greece in yellow (no outline), and pick up the plot
  59. domain from the extents of these countries, use::
  60. gmt coast -JM6i -Baf -EGB,IT,FR+gblue+p0.25p,red -EES,PT,GR+gyellow -pdf map
  61. To extract a high-resolution coastline data table for Iceland to be used
  62. in your analysis, try::
  63. gmt coast -RIS -Dh -W -M > iceland.txt
  64. **coast** will first look for coastline files in directory
  65. **$GMT_SHAREDIR**/coast If the desired file is not found, it will look
  66. for the file **$GMT_SHAREDIR**/coastline.conf. This file may contain
  67. any number of records that each holds the full pathname of an
  68. alternative directory. Comment lines (#) and blank lines are allowed.
  69. The desired file is then sought for in the alternate directories.
  70. .. include:: explain_gshhg.rst_
  71. .. include:: coast_notes.rst_
  72. See Also
  73. --------
  74. :doc:`gmt`, :doc:`gmt.conf`,
  75. :doc:`gmtcolors`,
  76. :doc:`grdlandmask`,
  77. :doc:`basemap`
Tip!

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

Comments

Loading...