GenericMappingTools / GenericMappingTools/gmt

gmt basemap polar stereographic projection, 90 degree latitude tick is funny

Open
#8,828 11 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

I am making a map using a polar stereograpic projection, and wanted to get a 90 S tick and annotation on one axis. Could not get this working, and discovered that the 90 degree latitude tick is actually present on the inside.

I would like to be able to add 90 S annotation (that I did externally) and a tick, but could not get the tick. Some code:
```
gmt basemap -R-90/90/-90/-60 -JS0/-90/10c -BWsEN -Bxaf -Byaf --MAP_FRAME_TYPE=plain -png test
```
the plot, see what the tick at the pole is doing `-BWSEN` produces the same result:

Image

Both ticks are actually present, W and E, `gmt basemap -R-90/45/-90/-60 -JS0/-90/10c -BWSEN -Bxaf -Byaf --MAP_FRAME_TYPE=plain -png test`:

Image

I wanted the 90 S tick present on the E axis looking outside (not inside), and annotated (at least the tick present so I could manually create annotation). Bottom axis (apparently W in this specific arrangement of plot axes) tics were not needed as I used bottom axis to plot annotations in projected coordinates. S axis is degraded to the pole position, practically does not exist as I could understand.

See the 90 S tick on the plot below. The 90 S annotation was added externally, and the tick also added externally using the frame in projected coordinates with a tick step exceeding the map size so only one tick is plotted. This trick however does not work if the right axis is not vertical e.g. in case region is `-R-90/15/-90/-60 -Js0/-90/-65/$scale`

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.