# \#gmt

**URL:** https://discourse.julialang.org/tag/gmt/795.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [What might be holding up a \_jll update?](https://discourse.julialang.org/t/what-might-be-holding-up-a-jll-update/139338)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 8\
**Last updated:** [September 12, 2026, 10:19am UTC](https://discourse.julialang.org/t/what-might-be-holding-up-a-jll-update/139338 "2026-09-12T10:19:01Z")

</div>

Hi, In GMT.jl the GMT\_jll version is been hold by something to a version one year old. If I force the install with \] add GMT\_jll I see (checked in 3 different computers) st ... \[b68b8c3f\] GMT\_jll v6.6.0+0 but newest …

---

## [Juliaup breakes GMT (via Ghostscript and tmp dir permissions)](https://discourse.julialang.org/t/juliaup-breakes-gmt-via-ghostscript-and-tmp-dir-permissions/136003)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 1\
**Last updated:** [March 4, 2026, 12:03pm UTC](https://discourse.julialang.org/t/juliaup-breakes-gmt-via-ghostscript-and-tmp-dir-permissions/136003 "2026-03-04T12:03:24Z")

</div>

All started when I decided to tell students to follow the official installing recommendations of using juliaup to install Julia. No problems in this first step (other than the slowness as comparing to install using the m…

---

## [GMT.jl : Coloring lakes, keeping oceans bathymetry](https://discourse.julialang.org/t/gmt-jl-coloring-lakes-keeping-oceans-bathymetry/135163)

<div class="topic-metadata">

**Author:** [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Replies:** 6\
**Last updated:** [January 22, 2026, 2:06pm UTC](https://discourse.julialang.org/t/gmt-jl-coloring-lakes-keeping-oceans-bathymetry/135163 "2026-01-22T14:06:22Z")

</div>

Hello! I’m trying to plot some points over a map. I would like to keep the default topography/bathymetry visuals, but the lakes are “green”, being over 0m at sea level (my guess). Here’s my current code. I tried to use t…

---

## [Ternary plots in GMT.jl](https://discourse.julialang.org/t/ternary-plots-in-gmt-jl/63181)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 14\
**Last updated:** [January 14, 2026, 6:11pm UTC](https://discourse.julialang.org/t/ternary-plots-in-gmt-jl/63181 "2026-01-14T18:11:49Z")

</div>

The ternary plots topic has been raised here several times. I’ve added ternary plots to GMT.jl. Unfortunately it’s still not yet possible to slant the ticks, which helps a lot in reading the graphs, as that it will have …

---

## [Retro 3D anaglyph](https://discourse.julialang.org/t/retro-3d-anaglyph/132237)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 1\
**Last updated:** [September 10, 2025, 10:34am UTC](https://discourse.julialang.org/t/retro-3d-anaglyph/132237 "2025-09-10T10:34:53Z")

</div>

If you have saudades of those old 3D movies and can still find a pair of red-cyan glasses, you can appreciate this reborn anaglyph. Tonga Trench using GMT I = anaglyph("@earth\_relief\_30s", R="-175.8/-171/-23/-14", vie…

---

## [Let's Choroplethize the US](https://discourse.julialang.org/t/lets-choroplethize-the-us/131254)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 18\
**Last updated:** [August 31, 2025, 10:34pm UTC](https://discourse.julialang.org/t/lets-choroplethize-the-us/131254 "2025-08-31T22:34:53Z")

</div>

Hi, Making choropleth maps of US seems to a popular request/example here. Advanced solution often lack, IMO, the necessary map quality. In these last days before vacations I spent some time preparing these examples that…

---

## [Stereonet diagram](https://discourse.julialang.org/t/stereonet-diagram/73121)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 13\
**Last updated:** [August 20, 2025, 12:49pm UTC](https://discourse.julialang.org/t/stereonet-diagram/73121 "2025-08-20T12:49:14Z")

</div>

Dear all, I was wondering if any of you have came across a package that could be use for making stereonets (stereographic projections on a Wulff/Schmidt nets), e.g.: I’ve not found any examples of such diagram constr…

---

## [Shift label coordinates in GMT](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [April 7, 2025, 9:26pm UTC](https://discourse.julialang.org/t/shift-label-coordinates-in-gmt/127818 "2025-04-07T21:26:39Z")

</div>

Dear all, I have the code in GMT: using GMT pts\_europa =\[ 3.1420 48.9447 2.3522 48.8566 -0.1278 51.5074 -3.7038 40.4168 4.8357 45.7640 4.3517 50.8503 19.0402 47.4979 12.4964 41.8719 18.0683 59.…

---

## [Drawing points in a map with GMT](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 5\
**Last updated:** [April 5, 2025, 4:53pm UTC](https://discourse.julialang.org/t/drawing-points-in-a-map-with-gmt/127744 "2025-04-05T16:53:38Z")

</div>

Dear all, I have the code below where I plot south america with GMT: using GMT # Desenhe o mapa coast(region=(-90, -30, -60, 15), proj=:Mercator, xaxis=(annot=10,ticks=5), yaxis=(annot=10,ticks=5), area=:10, land=:brow…

---

## [GMT: add lines to a map](https://discourse.julialang.org/t/gmt-add-lines-to-a-map/123852)

<div class="topic-metadata">

**Author:** [@George9000](https://discourse.julialang.org/u/George9000)\
**Replies:** 2\
**Last updated:** [December 16, 2024, 12:36am UTC](https://discourse.julialang.org/t/gmt-add-lines-to-a-map/123852 "2024-12-16T00:36:02Z")

</div>

After plotting a map region with coast, I’d like to add a series of lines. I’m unable to correctly specify the arguments for the lines! call. I’ve also tried giving the x and y as separate \[long\] and \[lat\] vectors to lin…

---

## [Issue with gridlines when cliping is used in GMT's grdimage](https://discourse.julialang.org/t/issue-with-gridlines-when-cliping-is-used-in-gmts-grdimage/120844)

<div class="topic-metadata">

**Author:** [@k945](https://discourse.julialang.org/u/k945)\
**Replies:** 0\
**Last updated:** [October 3, 2024, 8:50am UTC](https://discourse.julialang.org/t/issue-with-gridlines-when-cliping-is-used-in-gmts-grdimage/120844 "2024-10-03T08:50:20Z")

</div>

How do I mask out the ocean when using GMT? Doing this using grdimage does not appear to be working. Here is the image without clipping applied However when I set cliping in grdimage to :land I get the following …

---

## [\[Need help with\] GMT Eumap with lines and dots](https://discourse.julialang.org/t/need-help-with-gmt-eumap-with-lines-and-dots/119607)

<div class="topic-metadata">

**Author:** [@Elvander](https://discourse.julialang.org/u/Elvander)\
**Replies:** 2\
**Last updated:** [September 20, 2024, 3:30pm UTC](https://discourse.julialang.org/t/need-help-with-gmt-eumap-with-lines-and-dots/119607 "2024-09-20T15:30:10Z")

</div>

I would like to plot a series of lines and dots on the map of the EU ; I found out how to plot the EU map and plot either (one line) or a bunch of dots, but it is unclear to me how to do both ; I also would like to be ab…

---

## [GMT error message: Failure to open virtual file](https://discourse.julialang.org/t/gmt-error-message-failure-to-open-virtual-file/116843)

<div class="topic-metadata">

**Author:** [@morningglory05](https://discourse.julialang.org/u/morningglory05)\
**Replies:** 4\
**Last updated:** [July 16, 2024, 9:21pm UTC](https://discourse.julialang.org/t/gmt-error-message-failure-to-open-virtual-file/116843 "2024-07-16T21:21:19Z")

</div>

Someone else had this error in 2018 and opened a GMT issue for it: https://github.com/GenericMappingTools/GMT.jl/issues/59 (I’m not sure if it proper precedure to ask for the error to be reopened or to post here.) Thing…

---

## [GMT fails to precompile in Julia 1.10.4](https://discourse.julialang.org/t/gmt-fails-to-precompile-in-julia-1-10-4/116391)

<div class="topic-metadata">

**Author:** [@morningglory05](https://discourse.julialang.org/u/morningglory05)\
**Replies:** 8\
**Last updated:** [July 1, 2024, 4:46pm UTC](https://discourse.julialang.org/t/gmt-fails-to-precompile-in-julia-1-10-4/116391 "2024-07-01T16:46:55Z")

</div>

I’m updating to Julia 1.10.4. Most of the packages precompiled fine, but GMT is refusing to precompile. When I use VScode, I get the following error: ERROR: LoadError: InitError: could not load library "C:\\Users\\johns\\.…

---

## [Locate Points within GMT Delauney triangularization](https://discourse.julialang.org/t/locate-points-within-gmt-delauney-triangularization/110967)

<div class="topic-metadata">

**Author:** [@morningglory05](https://discourse.julialang.org/u/morningglory05)\
**Replies:** 4\
**Last updated:** [April 30, 2024, 5:53pm UTC](https://discourse.julialang.org/t/locate-points-within-gmt-delauney-triangularization/110967 "2024-04-30T17:53:09Z")

</div>

Overall issue: I am finding the intersection of two planes. I have the values of both planes at ungridded points, so I subtract their values (call the difference z). Then I have x,y,z values and I find the contour for z=…

---

## [TrueColor raster satellite image](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401)

<div class="topic-metadata">

**Author:** [@haffner](https://discourse.julialang.org/u/haffner)\
**Replies:** 19\
**Last updated:** [March 11, 2024, 10:56am UTC](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401 "2024-03-11T10:56:34Z")

</div>

I’m trying to compose a TrueColor image from three raster channels a VIIRS granule stored in a netCDF4 file. I’d like to do this in pure Julia but haven’t figured it out yet. I can read the data using NCDatasets.jl, bu…

---

## [\[GMT.jl\] Text Encoding issue (UTF8)](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 2\
**Last updated:** [February 25, 2024, 1:28pm UTC](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735 "2024-02-25T13:28:59Z")

</div>

I’m new to GMT.jl and I am struggling with text function. using GMT text("대한민국", fmt="pdf", x=12, y=15, font=12, show=true) Give the following result: Can anyone help me with this issue? Thanks!

---

## [Overlaying a grid of colored squares onto a map in GMT](https://discourse.julialang.org/t/overlaying-a-grid-of-colored-squares-onto-a-map-in-gmt/108547)

<div class="topic-metadata">

**Author:** [@yalonso](https://discourse.julialang.org/u/yalonso)\
**Replies:** 5\
**Last updated:** [January 10, 2024, 7:42pm UTC](https://discourse.julialang.org/t/overlaying-a-grid-of-colored-squares-onto-a-map-in-gmt/108547 "2024-01-10T19:42:03Z")

</div>

Hello! I am new to Julia and GMT and am looking to see if it’s possible to overlay a grid (in which i define how large each box should be and the color it should be) on top of a plot of a certain region of the US. funct…

---

## [Scatter plot over a map](https://discourse.julialang.org/t/scatter-plot-over-a-map/106165)

<div class="topic-metadata">

**Author:** [@yalonso](https://discourse.julialang.org/u/yalonso)\
**Replies:** 2\
**Last updated:** [November 15, 2023, 4:59pm UTC](https://discourse.julialang.org/t/scatter-plot-over-a-map/106165 "2023-11-15T16:59:02Z")

</div>

Hello, I am trying to use GMT.jl to plot some points overtop a map of a region of the U.S… I can get the map to show, but when I try to scatter points over it, I’m getting an error message. Any help here would be much a…

---

## [Deps.jl fie is missing when installing GMT julia package](https://discourse.julialang.org/t/deps-jl-fie-is-missing-when-installing-gmt-julia-package/105803)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 17\
**Last updated:** [November 8, 2023, 12:36am UTC](https://discourse.julialang.org/t/deps-jl-fie-is-missing-when-installing-gmt-julia-package/105803 "2023-11-08T00:36:37Z")

</div>

I’m getting following error, when I tried to install the GMT package into global packages. Failed to precompile GMT \[5752ebe1-31b9-557e-87aa-f909b540aa54\] to /Users/cbandara/.julia/compiled/v1.6/GMT/jl\_rcWYt7. ERROR: Lo…

---

## [Error message related to the GMT.jl package](https://discourse.julialang.org/t/error-message-related-to-the-gmt-jl-package/105272)

<div class="topic-metadata">

**Author:** [@Leon6](https://discourse.julialang.org/u/Leon6)\
**Replies:** 2\
**Last updated:** [October 23, 2023, 1:14pm UTC](https://discourse.julialang.org/t/error-message-related-to-the-gmt-jl-package/105272 "2023-10-23T13:14:06Z")

</div>

My code was running perfectly fine on my Intel-based MacBook Pro, but it gave me the error below while running on Apple Silicon chips. Does anyone know what is going on? Many thanks. \[6464\] signal (11.2): Segmentation …

---

## [Is there any method that I can input Chinese character using GMT.jl?](https://discourse.julialang.org/t/is-there-any-method-that-i-can-input-chinese-character-using-gmt-jl/102717)

<div class="topic-metadata">

**Author:** [@Vincent\_Liao](https://discourse.julialang.org/u/Vincent_Liao)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 3:01pm UTC](https://discourse.julialang.org/t/is-there-any-method-that-i-can-input-chinese-character-using-gmt-jl/102717 "2023-08-11T15:01:45Z")

</div>

The following is my code using GMT gmtbegin("Figure1", fmt="pdf,png") gmtset(PS\_CHAR\_ENCODING="Standard+", FONT\_LABEL="10p,39,black", ) subplot(grid="2x3", panels\_size=(8,6), margins="6p") bas…

---

## [How do I get the bounds (or center) of a named region in GMT.jl](https://discourse.julialang.org/t/how-do-i-get-the-bounds-or-center-of-a-named-region-in-gmt-jl/101506)

<div class="topic-metadata">

**Author:** [@Philip\_Stuckey](https://discourse.julialang.org/u/Philip_Stuckey)\
**Replies:** 3\
**Last updated:** [July 13, 2023, 1:06am UTC](https://discourse.julialang.org/t/how-do-i-get-the-bounds-or-center-of-a-named-region-in-gmt-jl/101506 "2023-07-13T01:06:16Z")

</div>

Hi, so I’m messing around with making a map of California with a Lambert Conic Projection (my eventual goal is to make maps of the maidenhead locator for various states), unfortunately it’s at an angle unless I manually …

---

## [Streamplot - Streamlines in Julia](https://discourse.julialang.org/t/streamplot-streamlines-in-julia/101537)

<div class="topic-metadata">

**Author:** [@Sisisi](https://discourse.julialang.org/u/Sisisi)\
**Replies:** 4\
**Last updated:** [July 12, 2023, 7:51pm UTC](https://discourse.julialang.org/t/streamplot-streamlines-in-julia/101537 "2023-07-12T19:51:16Z")

</div>

Hello, I have this MATLAB code (arrays are examples) XX =\[0.0 0.0 0.0; 0.5 0.5 0.5; 1.0 1.0 1.0\]; YY = \[0.0 0.5 1.0; 0.0 0.5 1.0; 0.0 0.5 1.0\]; U = \[-0.0 -0.0 0.0; -0.0 -0.6 0.0; -0.0 -9.184850993605148e-17 0.0\]; V = \[…

---

## [Fast plotting of area-filled signals with interactive zoom](https://discourse.julialang.org/t/fast-plotting-of-area-filled-signals-with-interactive-zoom/63611)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 8\
**Last updated:** [May 30, 2023, 7:03pm UTC](https://discourse.julialang.org/t/fast-plotting-of-area-filled-signals-with-interactive-zoom/63611 "2023-05-30T19:03:47Z")

</div>

Plotting 50 signals below with filled areas using PyPlot.jl takes ~0.2 s (after first plot) and allows fast interactive zoom-in: Interactive zoom-in: A MWE is provided herein: using PyCall pygui(:qt5) using PyPlo…

---

## [How to create a 3D network with GMT.jl](https://discourse.julialang.org/t/how-to-create-a-3d-network-with-gmt-jl/98668)

<div class="topic-metadata">

**Author:** [@gabipana7](https://discourse.julialang.org/u/gabipana7)\
**Replies:** 7\
**Last updated:** [May 14, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-to-create-a-3d-network-with-gmt-jl/98668 "2023-05-14T09:57:13Z")

</div>

Hi everyone, I would like to create a 3D network using real coordinates of seismic centers. Without going too much into detail, I have a graph file of edgelists and I laso have the coordinates of the nodes. I am able to…

---

## [Needing to plot streaming vehicle trajectories on a map similar to city or road map](https://discourse.julialang.org/t/needing-to-plot-streaming-vehicle-trajectories-on-a-map-similar-to-city-or-road-map/98705)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 7:19am UTC](https://discourse.julialang.org/t/needing-to-plot-streaming-vehicle-trajectories-on-a-map-similar-to-city-or-road-map/98705 "2023-05-12T07:19:47Z")

</div>

Hello, I desparately need a plotting library, platform to plot streaming vehicle trajectories on a city map. I am trying to put distance to python ecosystem and try to stay in julia ecosystem as much as possible but I h…

---

## [How to set the font size for labels in a legend using GMT.jl](https://discourse.julialang.org/t/how-to-set-the-font-size-for-labels-in-a-legend-using-gmt-jl/97778)

<div class="topic-metadata">

**Author:** [@MJulia](https://discourse.julialang.org/u/MJulia)\
**Replies:** 7\
**Last updated:** [May 4, 2023, 12:35pm UTC](https://discourse.julialang.org/t/how-to-set-the-font-size-for-labels-in-a-legend-using-gmt-jl/97778 "2023-05-04T12:35:23Z")

</div>

I’m new to GMT.jl, I hope to adjust the font size of label (“data”) in the legend as in the following code: using GMT lines(1:12, 1:12, figsize=(6,4), legend=(label=“data”,pos=:LT,box=:none,), show=true) None of FONT\_…

---

## [How to find out sub-options under a module's option when using GMT in julia？](https://discourse.julialang.org/t/how-to-find-out-sub-options-under-a-modules-option-when-using-gmt-in-julia/96829)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 4\
**Last updated:** [March 30, 2023, 7:39am UTC](https://discourse.julialang.org/t/how-to-find-out-sub-options-under-a-modules-option-when-using-gmt-in-julia/96829 "2023-03-30T07:39:03Z")

</div>

I’m new in GMT.jl. I follow the examples from Tutorial in Julia — GMT 6.4.0 documentation, and make a geographic map with a image pasted. It works. However, I don’t know how to query all options and suboptions under a m…

---

## [How could I create map with colored countries?](https://discourse.julialang.org/t/how-could-i-create-map-with-colored-countries/75634)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 5\
**Last updated:** [February 2, 2023, 3:01pm UTC](https://discourse.julialang.org/t/how-could-i-create-map-with-colored-countries/75634 "2023-02-02T15:01:04Z")

</div>

Hello Below is the kind of maps I would like to draw. The colors would be changing according to some data. I would dream of making animated gif files on this basis. Any idea how I coul proceed? Thanks Michel

[Next page](https://discourse.julialang.org/tag/gmt/795.md?match_all_tags=true&page=1&tags%5B%5D=gmt)
