# Showcase

**URL:** https://forum.generic-mapping-tools.org/c/show-your-nice-example-script/10.md

[Latest](https://forum.generic-mapping-tools.org/latest.md) · [Categories](https://forum.generic-mapping-tools.org/categories.md) · [Tags](https://forum.generic-mapping-tools.org/tags.md)

---

## [About the Showcase category](https://forum.generic-mapping-tools.org/t/about-the-showcase-category/499)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 0\
**Last updated:** [May 31, 2020, 12:22am UTC](https://forum.generic-mapping-tools.org/t/about-the-showcase-category/499 "2020-05-31T00:22:56Z")

</div>

Show here your nice example script. This example might be a candidate to our next gallery.

---

## [Bringing the third dimension to GMT: Stereograms](https://forum.generic-mapping-tools.org/t/bringing-the-third-dimension-to-gmt-stereograms/6189)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 17\
**Last updated:** [June 9, 2026, 2:59pm UTC](https://forum.generic-mapping-tools.org/t/bringing-the-third-dimension-to-gmt-stereograms/6189 "2026-06-09T14:59:06Z")

</div>

Here’s a very simple way to create “3D” stereograms using GMT. The demonstration is for the “cross-eye” method. It is easy enough to make stereograms for the “parallel” method, but supposedly most people find the cross-e…

---

## [Cpt-city, now in Rails](https://forum.generic-mapping-tools.org/t/cpt-city-now-in-rails/6347)

<div class="topic-metadata">

**Author:** [@jjg](https://forum.generic-mapping-tools.org/u/jjg)\
**Replies:** 4\
**Last updated:** [February 6, 2026, 7:09pm UTC](https://forum.generic-mapping-tools.org/t/cpt-city-now-in-rails/6347 "2026-02-06T19:09:22Z")

</div>

Possibly you’re familiar with cpt-city, an archive of GMT colour palettes (and other formats). I’ve recently rewritten the site in Rails, now available at https://phillips.shef.ac.uk/pub/cpt-city/ Previous users shoul…

---

## [Animation : sea-ice v3](https://forum.generic-mapping-tools.org/t/animation-sea-ice-v3/2786)

<div class="topic-metadata">

**Author:** [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Replies:** 7\
**Last updated:** [November 7, 2025, 11:00am UTC](https://forum.generic-mapping-tools.org/t/animation-sea-ice-v3/2786 "2025-11-07T11:00:56Z")

</div>

Sea-ice concentration in polar regions Animation from Jan 2016 to Dec 2021 Movie built with The Generic Mapping Tools Data Dataset available on Climate Data Store (CDS - Copernicus) Origin and sensor : E…

---

## [Tanaka contours](https://forum.generic-mapping-tools.org/t/tanaka-contours/6276)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 2\
**Last updated:** [November 5, 2025, 2:02pm UTC](https://forum.generic-mapping-tools.org/t/tanaka-contours/6276 "2025-11-05T14:02:47Z")

</div>

I find these contour plots very cute, and now finally implemented it in GMT.jl using GMT G = grdcut("@mars\_relief\_02m", R="220/233/13/25"); contourf(G, tanaka=true, title="Tanaka Olympus", show=1)

---

## [GMT.jl time-series processing](https://forum.generic-mapping-tools.org/t/gmt-jl-time-series-processing/6188)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 1\
**Last updated:** [September 7, 2025, 4:25pm UTC](https://forum.generic-mapping-tools.org/t/gmt-jl-time-series-processing/6188 "2025-09-07T16:25:02Z")

</div>

I’m sharing a few GMT.jl tutorials on time-series processing based on materials that I used in classes. See Signal processing examples

---

## [Examples showing the usage of grdmath](https://forum.generic-mapping-tools.org/t/examples-showing-the-usage-of-grdmath/5977)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 9\
**Last updated:** [August 29, 2025, 4:00pm UTC](https://forum.generic-mapping-tools.org/t/examples-showing-the-usage-of-grdmath/5977 "2025-08-29T16:00:07Z")

</div>

After a recent question on the use of gmt math I decided to investigate the grdmath module which is analogous to math, but for operating on grids instead. And what I found was very pleasing, so here is a simple example t…

---

## [On potential errors in the GSHHG coastline, and how one can "fix" them](https://forum.generic-mapping-tools.org/t/on-potential-errors-in-the-gshhg-coastline-and-how-one-can-fix-them/6056)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 4\
**Last updated:** [July 20, 2025, 8:30pm UTC](https://forum.generic-mapping-tools.org/t/on-potential-errors-in-the-gshhg-coastline-and-how-one-can-fix-them/6056 "2025-07-20T20:30:39Z")

</div>

I’ve been plotting maps of small regions, and noticed the DEM data I am using do not match up exactly with the built in coastlines (e.g. gmt coast -Df ...). Here’s an example: Notice the dark green areas around the c…

---

## [Script to Create a Map with Defined Width and Height](https://forum.generic-mapping-tools.org/t/script-to-create-a-map-with-defined-width-and-height/5909)

<div class="topic-metadata">

**Author:** [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Replies:** 20\
**Last updated:** [July 7, 2025, 11:39am UTC](https://forum.generic-mapping-tools.org/t/script-to-create-a-map-with-defined-width-and-height/5909 "2025-07-07T11:39:41Z")

</div>

I’m sharing this basic script (probably for my future self) that creates a map by specifying its width and height. The maximum longitude is calculated using mapproject and then used to generate the map. In this example, …

---

## [ALOS Global Digital Surface Model](https://forum.generic-mapping-tools.org/t/alos-global-digital-surface-model/6016)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 0\
**Last updated:** [June 28, 2025, 11:32am UTC](https://forum.generic-mapping-tools.org/t/alos-global-digital-surface-model/6016 "2025-06-28T11:32:17Z")

</div>

I was looking at DEMs and found the ALOS Global Digital Surface Model which is meant to be pretty good. So I decided to compare it against SRTM data which most of us are familiar with from the @earth\_relief remote datase…

---

## [Project with PROJ and plot with GMT](https://forum.generic-mapping-tools.org/t/project-with-proj-and-plot-with-gmt/3724)

<div class="topic-metadata">

**Author:** [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Replies:** 14\
**Last updated:** [June 15, 2025, 7:44pm UTC](https://forum.generic-mapping-tools.org/t/project-with-proj-and-plot-with-gmt/3724 "2025-06-15T19:44:08Z")

</div>

PROJ supports more projections than GMT. There’s nothing holding us back from using PROJ to do the projection and then GMT to plot. The downside is that graticules, embellishment etc. have to be managed manually (..or?)…

---

## [Old style barograph](https://forum.generic-mapping-tools.org/t/old-style-barograph/5944)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 6\
**Last updated:** [May 27, 2025, 10:21pm UTC](https://forum.generic-mapping-tools.org/t/old-style-barograph/5944 "2025-05-27T22:21:02Z")

</div>

In the past pressure was recorded on beautiful drum barograph instruments (the meteorological equivalent of the drum seismograph). Nowadays the instruments are digital, and people plot boring time series of pressure …

---

## [Various weather plots made using GMT](https://forum.generic-mapping-tools.org/t/various-weather-plots-made-using-gmt/5858)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 61\
**Last updated:** [May 19, 2025, 11:15pm UTC](https://forum.generic-mapping-tools.org/t/various-weather-plots-made-using-gmt/5858 "2025-05-19T23:15:21Z")

</div>

I’ve been building a personal website with weather products for the Tonga region which heavily use GMT. The website is here: https://met.nomuka.com None of the maps or plots are anything particularly fancy, but I thought…

---

## [DeepLearning docs](https://forum.generic-mapping-tools.org/t/deeplearning-docs/5862)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 2\
**Last updated:** [April 27, 2025, 6:07pm UTC](https://forum.generic-mapping-tools.org/t/deeplearning-docs/5862 "2025-04-27T18:07:28Z")

</div>

This is amazing.

---

## [Interrupted Mollweide plot](https://forum.generic-mapping-tools.org/t/interrupted-mollweide-plot/5859)

<div class="topic-metadata">

**Author:** [@timhume](https://forum.generic-mapping-tools.org/u/timhume)\
**Replies:** 1\
**Last updated:** [April 25, 2025, 9:02pm UTC](https://forum.generic-mapping-tools.org/t/interrupted-mollweide-plot/5859 "2025-04-25T21:02:38Z")

</div>

Many people will be familiar with the Goode Homolosine projection, but it’s not the only interrupted plot one can make. Below is an interupted Mollweide plot I made using GMT; I got the idea from Panoply which is a nice …

---

## [Tutorial. How to make animations with GMT](https://forum.generic-mapping-tools.org/t/tutorial-how-to-make-animations-with-gmt/5655)

<div class="topic-metadata">

**Author:** [@Esteban82](https://forum.generic-mapping-tools.org/u/Esteban82)\
**Replies:** 0\
**Last updated:** [December 24, 2024, 9:18pm UTC](https://forum.generic-mapping-tools.org/t/tutorial-how-to-make-animations-with-gmt/5655 "2024-12-24T21:18:40Z")

</div>

I share with you this tutorial that I made for the AGU24. This tutorial explains the basic aspect of doing animations with GMT. It serves as a guide to help beginners understand and troubleshoot potential issues. It ex…

---

## [Van Allen belt](https://forum.generic-mapping-tools.org/t/van-allen-belt/5646)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 0\
**Last updated:** [December 16, 2024, 1:30am UTC](https://forum.generic-mapping-tools.org/t/van-allen-belt/5646 "2024-12-16T01:30:53Z")

</div>

And to terminate (for now) my series on the 3D plots I’m leaving here my last slide of the AGU presentation. A more elaborated example and therefor, longer script and depends on 2 images not posted here. But to get the i…

---

## [Open Source Multiple GMT Implementation Examples (Classic GMT, PyGMT, and GMT.jl) with Source Data](https://forum.generic-mapping-tools.org/t/open-source-multiple-gmt-implementation-examples-classic-gmt-pygmt-and-gmt-jl-with-source-data/5550)

<div class="topic-metadata">

**Author:** [@liaoweiyang2017](https://forum.generic-mapping-tools.org/u/liaoweiyang2017)\
**Replies:** 1\
**Last updated:** [December 6, 2024, 10:26pm UTC](https://forum.generic-mapping-tools.org/t/open-source-multiple-gmt-implementation-examples-classic-gmt-pygmt-and-gmt-jl-with-source-data/5550 "2024-12-06T22:26:12Z")

</div>

I’m pleased to share our recent work published in GEOPHYSICS, where we provide three different GMT implementations (Classic GMT, PyGMT, and GMT.jl) for all eight figures in our paper. The code is available at: GitHub - C…

---

## [Extrude Italia](https://forum.generic-mapping-tools.org/t/extrude-italia/5590)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 4\
**Last updated:** [December 2, 2024, 4:10pm UTC](https://forum.generic-mapping-tools.org/t/extrude-italia/5590 "2024-12-02T16:10:23Z")

</div>

One more in 3D meshes series. Now we extrude Italy and paint it (low res) with “earth\_day\_01m” using GMT # Low resolution country polygons Dit = coast(M=true, DCW=(country=:IT, file=:ODS)); # Extrude and paint the qua…

---

## [Star map for location of astroimages](https://forum.generic-mapping-tools.org/t/star-map-for-location-of-astroimages/2827)

<div class="topic-metadata">

**Author:** [@RichardF](https://forum.generic-mapping-tools.org/u/RichardF)\
**Replies:** 19\
**Last updated:** [November 28, 2024, 6:47pm UTC](https://forum.generic-mapping-tools.org/t/star-map-for-location-of-astroimages/2827 "2024-11-28T18:47:57Z")

</div>

ID-2022-02\_VdB\_69\_Angel\_Nebula.pdf (299.5 KB) I make images of astronomical objects and want to show the image location on a local star chart. The process is semi-automatic, and passes via a spreadsheet. First I gen…

---

## [Subduction in Central America](https://forum.generic-mapping-tools.org/t/subduction-in-central-america/5526)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 0\
**Last updated:** [November 13, 2024, 7:22pm UTC](https://forum.generic-mapping-tools.org/t/subduction-in-central-america/5526 "2024-11-13T19:22:02Z")

</div>

Another episode of the GMT 3D adventures. A figure with a 3D view of the subduction in Central America. Sorry, this time I couldn’t do it with a one-liner. # Get the depth of these three cities Gm, Gt, SJ = grdtrack("c…

---

## [Interactive pygmt solution in jupyter](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369)

<div class="topic-metadata">

**Author:** [@espiritocz](https://forum.generic-mapping-tools.org/u/espiritocz)\
**Replies:** 2\
**Last updated:** [October 15, 2024, 2:26pm UTC](https://forum.generic-mapping-tools.org/t/interactive-pygmt-solution-in-jupyter/5369 "2024-10-15T14:26:32Z")

</div>

Dear (py)GMT dev team and friends, Let me present you an interactive solution developed during this summer by an MSc student, available on her github page: https://github.com/chelle0425/IntPyGMT It allows users making …

---

## [GMT.jl goes more 3D](https://forum.generic-mapping-tools.org/t/gmt-jl-goes-more-3d/5442)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 7\
**Last updated:** [October 11, 2024, 10:43pm UTC](https://forum.generic-mapping-tools.org/t/gmt-jl-goes-more-3d/5442 "2024-10-11T22:43:34Z")

</div>

This has turned out more difficult to make the plot that I had liked. Colors are modulated by the normals to each face (triangles) using GMT # Read the three 3D G,M,T letters G, M, T = gmtread("G.obj"), gmtread("M.obj…

---

## [Shading with Blender](https://forum.generic-mapping-tools.org/t/shading-with-blender/5236)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 2\
**Last updated:** [August 27, 2024, 7:08am UTC](https://forum.generic-mapping-tools.org/t/shading-with-blender/5236 "2024-08-27T07:08:28Z")

</div>

Blender can produce stunning shaded illumination maps using ray-tracers. It knows nothing about projections but once we get the shade grayscale image we can use it in GMT. Here’s an example (not fully comprehensible, I k…

---

## [Automatic insets](https://forum.generic-mapping-tools.org/t/automatic-insets/4996)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 10:13pm UTC](https://forum.generic-mapping-tools.org/t/automatic-insets/4996 "2024-06-17T22:13:39Z")

</div>

A new toy in GMT.jl (more at https://www.generic-mapping-tools.org/GMTjl\_doc/tutorials/insets/insets/) julia\> D = gmtread("@RHAT\_price.csv", o="0,2", par=(FORMAT\_DATE\_IN="dd-o-yy",)); julia\> viz(D, inset=(zoom=("2004-01…

---

## [How to create a heatmap](https://forum.generic-mapping-tools.org/t/how-to-create-a-heatmap/1478)

<div class="topic-metadata">

**Author:** [@PlanetGus](https://forum.generic-mapping-tools.org/u/PlanetGus)\
**Replies:** 24\
**Last updated:** [May 30, 2024, 9:36pm UTC](https://forum.generic-mapping-tools.org/t/how-to-create-a-heatmap/1478 "2024-05-30T21:36:23Z")

</div>

Here I propose to create a heatmap (or frequency of events in a given area). In my case, I have GPS coordinates that I want to map them on a pre-existing grid. Area of interest : 235E : 250E / 30N : 45N (these values …

---

## [Extract outline of actual coverage in a grid](https://forum.generic-mapping-tools.org/t/extract-outline-of-actual-coverage-in-a-grid/3395)

<div class="topic-metadata">

**Author:** [@Andreas](https://forum.generic-mapping-tools.org/u/Andreas)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 4:17pm UTC](https://forum.generic-mapping-tools.org/t/extract-outline-of-actual-coverage-in-a-grid/3395 "2024-04-09T16:17:55Z")

</div>

\# create a simple polygon that we use to cut cat \<\<eof \> cut.polygon 5.1 72.3 6.6 72.8 9.9 72.6 9.9 72.6 12.2 72.1 12.1 70.2 6.4 69.7 2.4 70.4 1.7 71.6 5.1 72.3 eof # cut region gmt grdcut @earth\_relief\_05m -RNO,SJ -Gno…

---

## [The true Cylindrical projection](https://forum.generic-mapping-tools.org/t/the-true-cylindrical-projection/4628)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 4\
**Last updated:** [January 23, 2024, 6:30am UTC](https://forum.generic-mapping-tools.org/t/the-true-cylindrical-projection/4628 "2024-01-23T06:30:23Z")

</div>

---

## [Plot a satellite orbit](https://forum.generic-mapping-tools.org/t/plot-a-satellite-orbit/4188)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 5\
**Last updated:** [January 7, 2024, 7:23pm UTC](https://forum.generic-mapping-tools.org/t/plot-a-satellite-orbit/4188 "2024-01-07T19:23:54Z")

</div>

This uses still a 2 years old orbit descriptor of the Aqua satellite and therefore the depicted orbit is probably far from correct but it doesn’t matter. Maybe @KristofKoch wants to add an airplain to the track. using G…

---

## [The Leland texture illumination (again)](https://forum.generic-mapping-tools.org/t/the-leland-texture-illumination-again/4231)

<div class="topic-metadata">

**Author:** [@Joaquim](https://forum.generic-mapping-tools.org/u/Joaquim)\
**Replies:** 9\
**Last updated:** [September 10, 2023, 12:27pm UTC](https://forum.generic-mapping-tools.org/t/the-leland-texture-illumination-again/4231 "2023-09-10T12:27:54Z")

</div>

Continuing from and be patient because the texture shading calculation is not a fast thing. (see more at this GMT.jl tutorial) using GMT G = gmtread("@earth\_relief\_01s", region=(-114.14,-111.28,35.50,37.06)); lelandsh…

[Next page](https://forum.generic-mapping-tools.org/c/show-your-nice-example-script/10.md?page=1)
