Skip to content

Conversation

@yvonnefroehlich
Copy link
Member

Description of proposed changes

Over time, the general syntax of the -F flage of plot has changed:

GMT 6.2 -F[c|n|r][a|f|s|r|refpoint]
GMT 6.3 -F[c|n|p][a|f|s|r|refpoint]
GMT 6.5 -F[c|n|p][a|r|s|t|refpoint]

I am wondering whether the last line of the figure caption in the GMT documentation has to be updated from
"directives ra, rt, rs, r10/35 and na" to
"directives pa, pt, ps, p10/35 and na"?

Reminders

  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

@PaulWessel
Copy link
Member

Yes, comments in gmt_init.c say:

case 'p': case 'r': k = 1; S->method = SEGM_REFPOINT; break; /* Backwards support for r for refpoint, now p for point */

@seisman seisman merged commit f630f4f into GenericMappingTools:master Jan 19, 2024
@yvonnefroehlich yvonnefroehlich deleted the update-caption-plot-F branch January 19, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants