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

pscoast.rst 2.6 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:: ! pscoast
  2. .. include:: module_core_purpose.rst_
  3. *******
  4. pscoast
  5. *******
  6. |pscoast_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt pscoast** |-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. [ |-K| ]
  21. [ |-L|\ *scalebar* ]
  22. [ |-M| ]
  23. [ |-N|\ *border*\ [/*pen*] ]
  24. [ |-O| ]
  25. [ |-P| ]
  26. [ |-Q| ]
  27. [ |-S|\ [*fill*] ]
  28. [ |-T|\ *rose* ]
  29. [ |SYN_OPT-U| ]
  30. [ |SYN_OPT-V| ]
  31. [ |-W|\ [*level*/]\ *pen* ]
  32. [ |SYN_OPT-X| ]
  33. [ |SYN_OPT-Y| ]
  34. [ |SYN_OPT-bo| ]
  35. [ |SYN_OPT-p| ]
  36. [ |SYN_OPT-t| ]
  37. [ |SYN_OPT--| ]
  38. .. include:: coast_common.rst_
  39. .. include:: common_classic.rst_
  40. Examples
  41. --------
  42. To plot a green Africa with white outline on blue background, with
  43. permanent major rivers in thick blue pen, additional major rivers in
  44. thin blue pen, and national borders as dashed lines on a Mercator map at
  45. scale 0.1 inch/degree, use::
  46. gmt pscoast -R-30/30/-40/40 -Jm0.1i -B5 -I1/1p,blue -N1/0.25p,- \
  47. -I2/0.25p,blue -W0.25p,white -Ggreen -Sblue -P > africa.ps
  48. To plot Iceland using the lava pattern (# 28) at 100 dots per inch, on a
  49. Mercator map at scale 1 cm/degree, run::
  50. gmt pscoast -RIS+r1 -Jm1c -Baf -Wthin -Gp28+r100 -P > iceland.ps
  51. To initiate a clip path for Africa so that the subsequent colorimage of
  52. gridded topography is only seen over land, using a Mercator map at scale
  53. 0.1 inch/degree, use::
  54. gmt pscoast -R-30/30/-40/40 -Jm0.1i -B5 -G -P -K > africa.ps
  55. gmt grdimage -J -R @earth_relief_05m -Cgeo -O -K >> africa.ps
  56. gmt pscoast -Q -O >> africa.ps
  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 pscoast -JM6i -Baf -EGB,IT,FR+gblue+p0.25p,red -EES,PT,GR+gyellow -P > map.ps
  61. To extract a high-resolution coastline data table for Iceland to be used
  62. in your analysis, try::
  63. gmt pscoast -RIS -Dh -W -M > iceland.txt
  64. **pscoast** 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:`psbasemap`
Tip!

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

Comments

Loading...