Skip to content

psxy (partially) ignores -Sq in segment headers #8943

Closed

Description

@joa-quim

According to manual, setting -S in a segment header is supposed to work. But it doesn't for -Sq (annotated lines).

Put this on a file

> -Sql0.454/0.454/0.545/0.456:+lBlaBla
0	0
1	1

and this fails to annotate it.

gmt plot D.dat -JX15c/10c -Baf -BWSen -R-0.04/1.04/-0.04/1.04  -png lixo

But if we just add -Sq, it works (-S alone errors)

gmt plot D.dat -JX15c/10c -Baf -BWSen -R-0.04/1.04/-0.04/1.04  -Sq -png lixo
Image

Activity

  1. added
    bug
    on Mar 21, 2026
  2. changed the title [-]psxy ignores -Sq in segment headers[/-] [+]psxy (partially) ignores -Sq in segment headers[/+] on Mar 21, 2026
  3. joa-quim commented on Mar 22, 2026

    @joa-quim
    MemberAuthor

    But there more issues in here. If we have a multi-word label, it must be wrapped under quotes, but than it no only prints the quotes too as it looses all after first word. That is: -Sql0.454/0.454/0.545/0.456:+l"Bla Bla"+v annotates "Bla

  4. added 2 commits that reference this issue on Mar 22, 2026
    d4e85e1
    d7f6bf4
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