Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve representation of pi fractions #173

Merged
merged 2 commits into from
Nov 9, 2018
Merged

Improve representation of pi fractions #173

merged 2 commits into from
Nov 9, 2018

Conversation

PaulWessel
Copy link
Member

The original algorithm only dealt with certain fractions and only if <= 2 pi. Now we handle anything value with a granularity up to multiples of 1/20th of pi, and we also ensure this labeling is only applied on the axes that requested increments in pi.

*Fixes #172 , but note you probably want to use -Bpxa1pi2 to avoid pi on the y-axis as well.

Handle anything up to 1/20th of pi, ensure this labeling is only applied on the axes that requests it.
@PaulWessel PaulWessel requested a review from a team November 9, 2018 03:17
It incorreclty used symbol font for the numbers.
@joa-quim joa-quim merged commit c69898c into master Nov 9, 2018
@seisman seisman deleted the pieslicer branch November 9, 2018 17:57
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
…#173)

Includes the version information and paths to libgmt and data. Will be
used later on to test the GMT version number.

Fixes GenericMappingTools#169

Turns out it segfaults for API_DATADIR for some reason. Might be a GMT
problem.
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.

None yet

2 participants