Improve -Sb of plot for Date/Time unit

Open
#8,644 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Reproduce the working and failing gmt plot -Sb examples from the issue, focusing on the Date/Time x-axis and the q unit. Trace the plot module's symbol-size handling and existing date/time parsing or unit tests. Done means -Sb0.1q works with Date/Time input while preserving the existing numeric behavior.

Written by the indexing model from the issue text.

Description

feature request

Hi, everyone,

A guy from China community found the unit for Date/Time in -Sb of plot module is not work.
I don't think it's a bug. So, a feature request is here.

# work
echo 5 5 | gmt plot -JX5c/4c -R1/10/1/6 -Baf -BWS -Sb1q -W0.1 -pdf test

# not work
echo 2023-07-07T 5 | gmt plot -JX5c/4c -R2023-1-1T/2024-1-1T/1/6 -Bpxa3of1o -Bsxa1yf -Bya -BWS -Sb0.1q -W0.1 -pdf test

Are you willing to help implement and maintain this feature? Maybe

Dominant language
C
Stars
997
Forks
420
Avg merge
13h 27m
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/gmt

All issues in GenericMappingTools/gmt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.