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

Finally address the need for increasing annotation offset with latitude #4852

Merged
merged 3 commits into from
Feb 25, 2021

Conversation

PaulWessel
Copy link
Member

Projections like Hammer and WInkel have a west and east boundary that curve from Equator to the poles, being vertical only at the Equator. As the boundary becomes more and more inclined, the horizontal latitude annotations start to encroach on the boundary. This PR addresses this by adjusting for the extra space needed due to the sloping interface and selected annotation font size. The attached plot shows what GMT_tut_17 looks like now, with the original below. About 20 PostScript files will need to change, but since they will change again once we merge gmt_themes I think we should let them just fail for a few days/weeks until we merge.

NEW:
GMT_tut_17

OLD:
old

Of course, it gets even worse with more sloping lines...

Projections like Hammer and WInkel has a west and east boundary that curve from Equator to the poles, being vertical only at the Equator.  As the boundary becomes more and more inclined, the horizontal latitude annotations start to encroach on the boundary.  This PR addresses this by adjusting for the extra space needed due to the sloping interface and annotation font.
@PaulWessel PaulWessel merged commit b92393d into master Feb 25, 2021
@PaulWessel PaulWessel deleted the curved-boundary-annot branch February 25, 2021 16:57
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.

2 participants