Skip to content

-B+e (to skip first or last annotation) not working with dates #6292

Open

Description

@gd-a

Hi there, never 2 without 3 (not sure this translate well in English)... anyway,

I'm trying to finish a code and I'm almost done apart from the first x annotation that bothers me.

I found in the doc the -B+e option, and ... it didn't work. After some trial the problem seems to be only for "month" annotation.

MWE :

gmt basemap -R2000-01-01T/2001-01-01T/-1/1 -JX5c -Bafg+e --FORMAT_DATE_MAP=o --FORMAT_TIME_PRIMARY_MAP=a -png test

Activity

  1. added
    bug
    on Feb 2, 2022
  2. reopened this on Feb 27, 2024
  3. joa-quim commented on Mar 21, 2026

    @joa-quim
    Member

    So, here you didn't want the Jan annotation right? But you also say that "After some trial the problem seems to be only for "month" annotation", so I'm confused.

    Image
  4. gd-a commented on Apr 14, 2026

    @gd-a
    ContributorAuthor

    I has been quite some time... I don't clearly remember but I suppose the +e option works with floats but not with dates ?

    Here's where I failed to implement it (see the graph at the BR corner): the September overlap with the vertical axis
    https://forum.generic-mapping-tools.org/t/animation-sea-ice-v3/2786

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions