The GMT historical collection

The 50 Examples

In this section we will be giving numerous examples of typical usage of GMT programs. In general, we will start with a raw data set, manipulate the numbers in various ways, then display the results in diagram or map view. The resulting plots will have in common that they are all made up of simpler plots that have been overlaid to create a complex illustration.

(1) Contour maps

ex01

(2) Image presentations

ex02

(3) Spectral estimation and xy-plots

ex03

(4) A 3-D perspective mesh plot

ex04

(5) A 3-D illuminated surface (in bw)

ex05

(6) Plotting of histograms

ex06

(7) A simple location map

ex07

(8) A 3-D histogram

ex08

(9) Time-series along tracks

ex09

(10) A geographical bar graph plot

ex10

(11) A 3-D RGB color cube

ex11

(12) Optimal triangulation of data

ex12

(13) Plotting of vector fields

ex13

(14) Gridding of data and trend surfaces

ex14

(15) Gridding, contouring, and masking of unconstrained areas

ex15

(16) Gridding of data, continued

ex16

(17) Images clipped by coastlines

ex17

(18) Volumes and Spatial Selections

ex18

(19) Color patterns on maps

ex19

(20) Custom plot symbols

ex20

(21) Time-series of RedHat stock price

ex21

(22) World-wide seismicity the last 7 days

ex22

(23) All great-circle paths lead to Rome

ex23

(24) Data selection based on geospatial criteria

ex24

(25) Global distribution of antipodes

ex25

(26) General vertical perspective projection

ex26

(27) Plotting Sandwell/Smith Mercator img grids

ex27

(28) Mixing UTM and geographic data sets

ex28

(29) Gridding spherical surface data using splines

ex29

(30) Trigonometric functions plotted in graph mode

ex30

(31) Using non-default fonts in PostScript

ex31

(32) Draping an image over topography

ex32

(33) Stacking automatically generated cross-profiles

ex33

(34) Using country polygons for plotting and shading

ex34

(35) Spherical triangulation and distance calculations

ex35

(36) Spherical gridding using Renka’s algorithms

ex36

(37) Spectral coherence between gravity and bathymetry grids

ex37

(38) Histogram equalization of bathymetry grids

ex38

(39) Evaluation of spherical harmonics coefficients

ex39

(40) Line simplification

ex40

(41) Legend with tables

ex41

(42) Antarctica and stereographic data

ex42

(43) Robust regression and outlier detection

ex43

(44) Map inserts

ex44

(45) Trend modeling

ex45

(46) Day-light terminators and other sunlight parameters

ex46

(47) Linear regression using different norms and types

ex47

(48) Line networks, map embellishments, and curved titles

ex48

(49) Analysis of the Atlantic seafloor depth/age relationship

ex49
 

(50) Probability distributions

ex50