Skip to content

Figure.directional_rose: Add a directional rose on map #4164

Closed

Description

@seisman

This issue serves as the central place for discussing and tracking the implementation of the Figure.directional_rose method in PyGMT. The issue will be closed when the initial implementation is complete. Progress is tracked at PyGMT: Wrapping GMT modules.

The Figure.directional_rose method wraps the -Td option in basemap/coast.

Documentation

GMT Option Flags

☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.

Below we list all option flags in basemap, but not all of them make sense here.

  • -J:
  • -R:
  • -A: Dump the polygon. Makes no sense.
  • -B:
  • -F: box.
  • -L: Will be implemented as Figure.scale_bar
  • -Tm: Will be implemented as Figure.magnetic_rose
  • -U: Use Figure.timestamp instead
  • -V
  • -X/-Y: Use Figure.shift_origin instead.
  • -f: output column types. Makes no sense.
  • -p
  • -t
  • --PAR=value: Use pygmt.config instead.
  • -Td: -Td[g|j|J|n|x]refpoint[+f|F[level]][+jjustify][+l[w,e,s,n]][+odx[/dy]][+wwidth]
    • g|j|J|n|x: position_type
    • refpoint: position
    • +j: anchor
    • +o: anchor_offset
    • +w: width
    • +l: label [Maybe labels, since label is an alias for common option -l?]
    • +f: fancy
    • +F: not implemented yet

Linked Pull Requests

Activity

  1. added
    feature request
    on Oct 15, 2025
  2. seisman commented on Dec 20, 2025

    @seisman
    MemberAuthor

    Duplicate of issue #4302.

  3. added
    duplicate
    on Dec 20, 2025
  4. added this to the 0.18.0 milestone on Dec 20, 2025
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

    duplicatefeature request

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions