-
Notifications
You must be signed in to change notification settings - Fork 359
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
Update how CPT hinges are handled #2416
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
89de734
Update how CPT hinges are done
PaulWessel 5cbef76
Updates so far - in progress
PaulWessel 7a759e9
Add warning that +h cannot affect hard hinges
PaulWessel 70ffabd
Update scripts and PS to show short and hard hinges
PaulWessel 15536f0
Update GMT_tut_17.ps
PaulWessel f5ff933
Update docs
PaulWessel 00fee51
Add include files explaining CPT syntax for creation and use
PaulWessel e2965f2
Polish cpt docs
PaulWessel 394ea99
Fix handing of soft hinge assignment
PaulWessel e58278d
Improve hinge documentationand CPT
PaulWessel 7e89302
Merge branch 'master' into cpthingework
PaulWessel 537013c
Merge branch 'master' into cpthingework
PaulWessel d3ac812
Update list of CPTs to indicate hard or soft hinge
PaulWessel e4be913
Update world.cpt
PaulWessel f5f2ed6
Update haxby.cpt
PaulWessel bcc21cb
Turn wysiwig, haxby, no_green, and world into continuous CPTs
PaulWessel 2f1ffb1
Restrict CPT resampling to continuous CPTs
PaulWessel a8af9ac
Allow colorlists to pass as discrete input CPT
PaulWessel 6ad0125
Merge branch 'master' into cpthingework
PaulWessel 6599d03
Strengthening handling of color lists and categorical tables
PaulWessel 17ecac2
Update std_opts_classic.rst
PaulWessel 7eb1ec0
Add new CPT section on color-lists
PaulWessel 028414c
Improve colorlist figure and discussion
PaulWessel 4b4eea3
Update features.rst
PaulWessel 6f7a08b
Check hinge and warn if outside data range (and ignore)
PaulWessel bea1b1c
Add new CPT test for hinges
PaulWessel 6f3e928
Update common_SYN_OPTs.rst_
PaulWessel c95b334
Update common_SYN_OPTs.rst_
PaulWessel dd9ec79
Deal with distcalc ref
PaulWessel 9aacb72
Better reporting for hinge violations in CPTs
PaulWessel 3fc0baa
Merge branch 'master' into cpthingework
PaulWessel f543774
Allow slow or zhigh to equal hinge
PaulWessel 254b23a
Update doc/rst/source/cookbook/features.rst
PaulWessel 736deff
Update src/gmt_support.c
PaulWessel 3ba7c58
Update gmt_api.c
PaulWessel 92a7b35
Merge branch 'cpthingework' of https://github.com/GenericMappingTools…
PaulWessel eccf392
Improve GMT_colorlist.sh script to show options
PaulWessel 76c2e69
Update gmt_api.c
PaulWessel 5447585
Fix CPT stretching with hinges
PaulWessel 48648f2
Fix discrete resampling of CPTs with hinges
PaulWessel a808d81
Merge branch 'master' into cpthingework
PaulWessel 3975c92
Address soft hinge and fix -T parsing check
PaulWessel db5ffe3
Merge branch 'master' into cpthingework
PaulWessel 7e089ab
Merge branch 'master' into cpthingework
PaulWessel db1e6d5
Fix print message in validate_cpt function
PaulWessel be4f086
Leave user zmin/zmax selection as is
PaulWessel e4fb649
Merge branch 'master' into cpthingework
PaulWessel 267ce55
Add new test, update cpthinges to new behavior
PaulWessel 9ee3e59
Avoid freeing same array twice
PaulWessel d8d676f
Merge branch 'master' into cpthingework
PaulWessel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
**-C**\ [*cpt*\ \|\ *master*\ [**+h**\ [*hinge*]][**+i**\ *zinc*][**+u**\ \|\ **U**\ *unit*] \|\ *color1,color2*\ [,\ *color3*\ ,...]] | ||
Name of the CPT. If given a GMT Master soft-hinge CPT (see :ref:`Of Colors and Color Legends`) then | ||
you can enable the hinge at data value *hinge* [0] via **+h**, whereas for hard-hinge CPTs you | ||
can adjust the location of the hinge [0]. For other CPTs, you may convert their *z*-values | ||
from meter to another distance unit (append **+U**\ *unit*) or from another unit to meter (append **+u**\ *unit*), | ||
with *unit* taken from **e**\ \|\ **f**\ \|\ **k**\ \|\ **M**\ \|\ **n**\ \|\ **u**. | ||
Alternatively, give *color1,color2*\ [*,color3*\ ,...] | ||
to build a linear continuous CPT from those colors automatically, | ||
where *z* starts at 0 and is incremented by one for each color. | ||
In this case *color*\ **n** can be a r/g/b triplet, a color name, | ||
or an HTML hexadecimal color (e.g. #aabbcc). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
**-je**\ \|\ **f**\ \|\ **g** :ref:`(more ...) <distcalc_full>` | ||
**-je**\ \|\ **f**\ \|\ **g** :ref:`(more ...) <-distcalc_full>` | ||
Determine how spherical distances are calculated. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Describe how it behaves if hinge is outside the data range.