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

Ouverte
#8,828 11 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
42/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
c

Piste de recherche

Commencez par reproduire le problème avec les commandes gmt basemap fournies et leurs paramètres -B de stéréographie polaire. Suivez la manière dont les axes du cadre de la projection polaire gèrent le tick 90 S, y compris le cas alternatif -R-90/15/-90/-60. Le travail est terminé lorsque le tick du pôle peut apparaître sur l’axe E extérieur demandé et être annoté de manière cohérente dans les régions décrites.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

bug

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
Langage dominant
C
Étoiles
997
Forks
420
Merge moyen
13 h 27 min
PR mergées (30 j)
47

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de GenericMappingTools/gmt

Toutes les issues de GenericMappingTools/gmt

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.