Skip to content

Auto-legend uses incorrect symbol for plot -Sf fault decorations #9066

Closed

Description

@Esteban82

The auto-legend generated for fault symbols plotted with plot -Sf uses the same symbol (a box) for all entries. On the map itself, the symbols are plotted correctly.

Image
gmt begin lixo png
	gmt plot @CA_fault_data.txt -Sf0.5+b+r -l"box"
	gmt plot @CA_fault_data.txt -Sf0.5+c+r -l"circle"
	gmt plot @CA_fault_data.txt -Sf0.5+f+r -l"fault"
	gmt plot @CA_fault_data.txt -Sf0.5+s+r -l"slip"
	gmt plot @CA_fault_data.txt -Sf0.5+t+r -l"triangle"
	gmt plot @CA_fault_data.txt -Sf0.5+v+r -l"inverted triangle"
gmt end

Activity

  1. added
    bug
    on Jun 16, 2026
  2. seisman commented on Jun 17, 2026

    @seisman
    Member

    If you add gmt legend -Tlegend.txt -DjTL, you will see the auto-legend entries:

    S - f - - default,black - box
    S - f - - default,black - circle
    S - f - - default,black - fault
    S - f - - default,black - slip
    S - f - - default,black - triangle
    S - f - - default,black - inverted triangle
    

    Apparently, the 3rd column is incorrect.

  3. Esteban82 commented on Jun 17, 2026

    @Esteban82
    MemberAuthor

    Apparently, the 3rd column is incorrect.

    Yes, I agree.

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