Skip to content

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

@mkononets

Description

@mkononets

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions