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_Quick_reference.tex 8.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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
  1. %------------------------------------------
  2. % $Id$
  3. %
  4. % The GMT Documentation Project
  5. % Copyright (c) 2000-2012.
  6. % P. Wessel, W. H. F. Smith, R. Scharroo, and J. Luis
  7. %------------------------------------------
  8. %
  9. \documentclass{article}
  10. \begin{document}
  11. \par FILTERING OF 1-D AND 2-D DATA:\par
  12. \par blockmean/median/mode L2, L1, and mode estimate (\emph{x},\emph{y},\emph{z}) data filters/decimators\par
  13. \par filter1d Filter 1-D data (time series)\par
  14. \par grdfilter Filter 2-D data in space domain\par
  15. \par \par
  16. \par PLOTTING OF 1-D and 2-D DATA:\par
  17. \par grdcontour Contouring of 2-D gridded data \par
  18. \par grdimage Produce images from 2-D gridded data \par
  19. \par grdvector Plot vector fields from 2-D gridded data\par
  20. \par grdview 3-D perspective imaging of 2-D gridded data \par
  21. \par psbasemap Create a basemap frame\par
  22. \par psclip Use polygon files as clipping paths\par
  23. \par pscoast Plot coastlines, filled continents, rivers, and political borders\par
  24. \par pscontour Direct contouring or imaging of \emph{xyz} data by triangulation \par
  25. \par pshistogram Plot a histogram\par
  26. \par psimage Plot Sun raster files on a map\par
  27. \par psmask Create overlay to mask specified regions of a map\par
  28. \par psrose Plot sector or rose diagrams\par
  29. \par psscale Plot gray scale or color scale\par
  30. \par pstext Plot text strings\par
  31. \par pswiggle Draw anomalies along track\par
  32. \par psxy Plot symbols, polygons, and lines in 2-D\par
  33. \par psxyz Plot symbols, polygons, and lines in 3-D\par
  34. \par \par
  35. \par GRIDDING OF (X,Y,Z) TABLE DATA:\par
  36. \par nearneighbor Nearest-neighbor gridding scheme\par
  37. \par greenspline Interpolation using Green's functions\par
  38. \par surface Continuous curvature gridding algorithm\par
  39. \par triangulate Perform optimal Delauney triangulation on \emph{xyz} data\par
  40. \par \par
  41. \par SAMPLING OF 1-D AND 2-D DATA:\par
  42. \par gmtdp Line reduction using the Douglas-Peucker algorithm\par
  43. \par grdsample Resample a 2-D gridded data onto new grid\par
  44. \par grdtrack Sampling of 2-D data along 1-D track\par
  45. \par sample1d Resampling of 1-D data\par
  46. \par \par
  47. \par PROJECTION AND MAP-TRANSFORMATION:\par
  48. \par grdproject Transform gridded data to a new coordinate system\par
  49. \par mapproject Transform table data to a new coordinate system\par
  50. \par project Project data onto lines or great circles\par
  51. \par \par
  52. \par INFORMATION:\par
  53. \par gmtdefaults List the current default settings\par
  54. \par gmtset Command-line editing of parameters in the \filename{gmt.conf} file\par
  55. \par gmtwhich Find full path to specified data files\par
  56. \par grdinfo Get information about the content of grid files\par
  57. \par minmax Report extreme values in table data files\par
  58. \par \par
  59. \par CONVERT OR EXTRACT SUBSETS OF DATA:\par
  60. \par gmtconvert Convert table data from one format to another\par
  61. \par gmtselect Select table data subsets based on multiple spatial criteria\par
  62. \par gmtspatial Geospatial operations on lines and polygons\par
  63. \par gmtstitch Join segments into more complete lines or polygons\par
  64. \par grd2xyz Convert 2-D gridded data to table data\par
  65. \par grdcut Cut a sub-region from a grid file\par
  66. \par grdpaste Paste together grid files along common edge\par
  67. \par grdreformat Convert from one grid format to another\par
  68. \par splitxyz Split \emph{xyz} table data into several segments\par
  69. \par xyz2grd Convert table data to 2-D grid file\par
  70. \par \par
  71. \par MISCELLANEOUS:\par
  72. \par gmtmath Reverse Polish Notation (RPN) calculator for data tables\par
  73. \par makecpt Create GMT color palette tables\par
  74. \par spectrum1d Compute spectral estimates from time-series\par
  75. \par triangulate Perform optimal Delauney triangulation on xyz data\par
  76. \par \par
  77. \par DETERMINE TRENDS IN 1-D AND 2-D DATA:\par
  78. \par fitcircle Finds best-fitting great or small circles\par
  79. \par grdtrend Fits polynomial trends to grid files (\emph{z} = f(\emph{x},\emph{y}))\par
  80. \par trend1d Fits polynomial or Fourier trends to \emph{y} = f(\emph{x}) series\par
  81. \par trend2d Fits polynomial trends to \emph{z} = f(\emph{x},\emph{y}) series\par
  82. \par \par
  83. \par OTHER OPERATIONS ON 2-D GRIDS:\par
  84. \par grd2cpt Make color palette table from grid files\par
  85. \par grdclip Limit the \emph{z}-range in gridded data sets\par
  86. \par grdedit Modify grid header information\par
  87. \par grdfft Operate on grid files in frequency domain\par
  88. \par grdgradient Compute directional gradients from grid files\par
  89. \par grdhisteq Histogram equalization for grid files\par
  90. \par grdlandmask Creates mask grid file from coastline database\par
  91. \par grdmask Set grid nodes in/outside a clip path to constants\par
  92. \par grdmath Reverse Polish Notation (RPN) calculator for grid files\par
  93. \par grdvolume Calculate volume under a surface within a contour\par
  94. \par \par
  95. \par gmt2kml Convert GMT data tables to KML files for Google Earth\par
  96. \par kml2gmt Extract GMT data from a Google Earth KML file\par
  97. \par ps2raster Crop and convert PostScript files to raster images, EPS, and PDF\par
  98. \par \par
  99. \par STANDARDIZED COMMAND LINE OPTIONS:\par
  100. \par \Opt{B}\emph{xtick}[\emph{:text:}][\emph{/ytick}[\emph{:text:}]][\emph{/ztick}[\emph{:text:}]][\emph{WESNZwesnz+}][\emph{:.title:}] Tickmarks\par
  101. \par \Opt{J} Map projection. Give \underline{width} or use lower case code and specify map \underline{scale}\par
  102. \par \Opt{JA}\emph{lon0/lat0/width} Lambert azimuthal equal area\par
  103. \par \Opt{JB}\emph{lon0/lat0/lat1/lat2/width} Albers conic equal area\par
  104. \par \Opt{JC}\emph{lon0/lat0/width} Cassini cylindrical\par
  105. \par \Opt{JCyl\_stere}\emph{lon0/lat0/width} Cylindrical stereographic\par
  106. \par \Opt{JE}\emph{lon0/lat0/width} Azimuthal equidistant\par
  107. \par \Opt{JF}\emph{lon0/lat0horizon/width} Azimuthal Gnomonic\par
  108. \par \Opt{JG}\emph{lon0/lat0/width} Azimuthal orthographic\par
  109. \par \Opt{JH}\emph{lon0/width} Hammer equal area\par
  110. \par \Opt{JI}\emph{lon0/width} Sinusoidal equal area\par
  111. \par \Opt{JJ}\emph{lon0/width} Miller cylindrical\par
  112. \par \Opt{JK}\emph{lon0/width} Eckert IV equal area\par
  113. \par \Opt{JL}\emph{lon0/lat0/lat1/lat2/width} Lambert conic conformal\par
  114. \par \Opt{JM}\emph{width }or\emph{}\Opt{JM}\emph{lon0/lat0/width} Mercator cylindrical\par
  115. \par \Opt{JN}\emph{lon0/width} Robinson\par
  116. \par \Opt{JOa}\emph{lon0/lat0/az/width} Oblique Mercator, 1: origin and azimuth\par
  117. \par \Opt{JOb}\emph{lon0/lat0/lon1/lat1/width} Oblique Mercator, 2: two points\par
  118. \par \Opt{JOc}\emph{lon0/lat0/lonp/latp/width} Oblique Mercator, 3: origin and pole\par
  119. \par \Opt{JP}\emph{width} Polar (\emph{q}, \emph{r}) (or cylindrical)\par
  120. \par \Opt{JPoly}\emph{lon0/width} Polyconic\par
  121. \par \Opt{JQ}\emph{lon0/width} Equidistant cylindrical (Plate Carr\'{e})\par
  122. \par \Opt{JR}\emph{lon0/width} Winkel Tripel\par
  123. \par \Opt{JS}\emph{lon0/lat0/width} General stereographic\par
  124. \par \Opt{JT}\emph{lon0/width} Transverse Mercator\par
  125. \par \Opt{JU}\emph{zone/width} Universal Transverse Mercator (UTM)\par
  126. \par \Opt{JW}\emph{lon0/width} Mollweide\par
  127. \par \Opt{JX}\emph{width}[\textbf{l}|\textbf{p}][/\emph{heigh}t[\textbf{l}|\textbf{p}]][\textbf{d}] Linear, log$_{10}$, and $x^a$--$y^b$\par
  128. \par \Opt{JY}\emph{lon0/lats/width} General cylindrical equal area\par
  129. \par \Opt{K} Append more PostScript later\par
  130. \par \Opt{O} This is an overlay plot\par
  131. \par \Opt{P} Select Portrait orientation\par
  132. \par \Opt{R}\emph{west/east/south/north}[\emph{/zmin/zmax}][\textbf{r}] Specify Region of interest\par
  133. \par \Opt{U}[\emph{/dx/dy}/][\emph{label}] Plot time-stamp on plot\par
  134. \par \Opt{V} Run in verbose mode\par
  135. \par \Opt{X}\emph{off} \Opt{Y}\emph{off} Shift lower left corner of plot [1/1]\par
  136. \par \Opt{a}\emph{name=col,} Set aspatial column associations\par
  137. \par \Opt{c}\emph{copies} Set number of plot copies [1]\par
  138. \par \Opt{f}\emph{info} Specifies the data format on a per column basis \par
  139. \par \Opt{g}\emph{info} Identify data gaps based on supplied criteria \par
  140. \par \Opt{h}\emph{[n\_headers]} Input/output ASCII tables have header record[s]\par
  141. \par \Opt{p}\emph{azim/elev}[\emph{zlevel}][\textbf{+}\emph{lon0/lat0}[/\emph{z0}]][\textbf{+v}\emph{x0/y0}] Perspective views\par
  142. \par \Opt{s}[\textbf{r}] Controls output of records where \emph{z} is NaN \par
  143. \par \Opt{t}[\emph{trans}] Sets layer PDF transparency \par
  144. \par \Opt{:} Expect \emph{y}/\emph{x} input rather than \emph{x}/\emph{y}\par
  145. \end{document}
Tip!

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

Comments

Loading...