Skip to content

Figure.meca: Allow specifying the label angle, font, justification, and offset #1466

Open

Description

@maxrjones

Description of the desired feature

Based on this forum post, it would be useful to add support for customizing the label characteristics for meca, which is done using -S in gmt meca. Relates to #1082, in order to make the PyGMT implementation more pythonic than gmt meca -S.

Are you willing to help implement and maintain this feature? Not likely that I will find time to implement

Activity

  1. added this to the 0.6.0 milestone on Nov 7, 2021
  2. weiji14 commented on Nov 7, 2021

    @weiji14
    Member

    Note that there was a previous attempt to handle the text label specification. See @tjnewton's implementation at 2fe87af, but this was reverted by @liamtoney at ff164e6 because we didn't support GMT_Put_Strings at that time (full explanation at #516 (comment).

    I'll try and resurrect that old bit of code, and put it in #1613. Or, I could implement the text label and angle/font/justification specification in a separate Pull Request after #1613.

  3. modified the milestones: 0.6.0, 0.7.0 on Mar 1, 2022
  4. modified the milestones: 0.7.0, 0.8.0 on Jun 23, 2022
  5. modified the milestones: 0.8.0, 0.9.0 on Dec 11, 2022
  6. modified the milestones: 0.9.0, 0.10.0 on Mar 16, 2023
  7. removed this from the 0.10.0 milestone on Aug 24, 2023
  8. changed the title [-]Allow specifying the label angle, font, justification, and offset in pygmt.meca[/-] [+]Figure.meca: Allow specifying the label angle, font, justification, and offset[/+] on Oct 9, 2023
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions