GMT
6.1

Getting started

  • Example Gallery
  • Animations
  • Tutorial

Reference documentation

  • Modules
  • Cookbook
  • Datasets

Resources

  • Users Script Contributions
  • Users Symbol Contributions
  • Changelog
  • Deprecated GMT Defaults Names
  • Switching between different versions
  • Migrating from an earlier version

Classic Mode

  • Common Options (Classic Mode)
  • Modules (Classic Mode)

Developer Resources

  • Contributing Guide
  • Code of Conduct
  • reStructuredText Cheatsheet
  • Debugging GMT
  • GMT C API
  • PostScriptLight C API

Getting help

  • GMT Homepage
  • GMT Community Forum
  • License
  • Source Code
GMT
  • »
  • Example Gallery
  • Edit on GitHub

Example Gallery¶

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.

  • _images/ex01.png

    (1) Contour maps¶

  • _images/ex02.png

    (2) Image presentations¶

  • _images/ex03.png

    (3) Spectral estimation and xy-plots¶

  • _images/ex04.png

    (4) A 3-D perspective mesh plot¶

  • _images/ex05.png

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

  • _images/ex06.png

    (6) Plotting of histograms¶

  • _images/ex07.png

    (7) A simple location map¶

  • _images/ex08.png

    (8) A 3-D histogram¶

  • _images/ex09.png

    (9) Time-series along tracks¶

  • _images/ex10.png

    (10) A geographical bar graph plot¶

  • _images/ex11.png

    (11) A 3-D RGB color cube¶

  • _images/ex12.png

    (12) Optimal triangulation of data¶

  • _images/ex13.png

    (13) Plotting of vector fields¶

  • _images/ex14.png

    (14) Gridding of data and trend surfaces¶

  • _images/ex15.png

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

  • _images/ex16.png

    (16) Gridding of data, continued¶

  • _images/ex17.png

    (17) Images clipped by coastlines¶

  • _images/ex18.png

    (18) Volumes and Spatial Selections¶

  • _images/ex19.png

    (19) Color patterns on maps¶

  • _images/ex20.png

    (20) Custom plot symbols¶

  • _images/ex21.png

    (21) Time-series of RedHat stock price¶

  • _images/ex22.png

    (22) World-wide seismicity the last month¶

  • _images/ex23.png

    (23) All great-circle paths lead to Rome¶

  • _images/ex24.png

    (24) Data selection based on geospatial criteria¶

  • _images/ex25.png

    (25) Global distribution of antipodes¶

  • _images/ex26.png

    (26) General vertical perspective projection¶

  • _images/ex27.png

    (27) Plotting Sandwell/Smith Mercator img grids¶

  • _images/ex28.png

    (28) Mixing UTM and geographic data sets¶

  • _images/ex29.png

    (29) Gridding spherical surface data using splines¶

  • _images/ex30.png

    (30) Trigonometric functions plotted in graph mode¶

  • _images/ex31.png

    (31) Using non-default fonts in PostScript¶

  • _images/ex32.png

    (32) Draping an image over topography¶

  • _images/ex33.png

    (33) Stacking automatically generated cross-profiles¶

  • _images/ex34.png

    (34) Using country polygons for plotting and shading¶

  • _images/ex35.png

    (35) Spherical triangulation and distance calculations¶

  • _images/ex36.png

    (36) Spherical gridding using Renka’s algorithms¶

  • _images/ex37.png

    (37) Spectral coherence between gravity and bathymetry grids¶

  • _images/ex38.png

    (38) Histogram equalization of bathymetry grids¶

  • _images/ex39.png

    (39) Evaluation of spherical harmonics coefficients¶

  • _images/ex40.png

    (40) Line simplification¶

  • _images/ex41.png

    (41) Legend with tables¶

  • _images/ex42.png

    (42) Antarctica and stereographic data¶

  • _images/ex43.png

    (43) Robust regression and outlier detection¶

  • _images/ex44.png

    (44) Map insets¶

  • _images/ex45.png

    (45) Trend modeling¶

  • _images/ex46.png

    (46) Day-light terminators and other sunlight parameters¶

  • _images/ex47.png

    (47) Linear regression using different norms and types¶

  • _images/ex48.png

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

  • _images/ex49.png

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

  • _images/ex50.png

    (50) Probability distributions¶

  • _images/ex51.png

    (51) OpenStreetMap coastlines in GMT¶

  • _images/ex52.png

    (52) Image and grid manipulation¶

Next Previous

© Copyright 2020, The GMT Team. Last updated on Sep 02, 2020.

Built with Sphinx using a theme provided by Read the Docs.