-
Notifications
You must be signed in to change notification settings - Fork 401
Let gmt.history and gmt.conf be hierarchical and separate for panels and figures #3523
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
747097b
Let gmt.history be hierarchical and separate for panels and fitures
PaulWessel 67947db
Update inset.c
PaulWessel b4708ef
Merge branch 'master' into history-hierarchy
PaulWessel e721e93
Do the same with gmt.conf
PaulWessel 229d4bd
Update gmt_init.c
PaulWessel ff968dd
Merge branch 'master' into history-hierarchy
PaulWessel 34695dd
Update features.rst
PaulWessel f3c43ef
Merge branch 'master' into history-hierarchy
PaulWessel db969a2
Update features.rst
PaulWessel 4d9c23d
Update scrips and examples to follow rules on hierarchical entries
PaulWessel 22c2e45
Let subplot -R set both grid and plot regions
PaulWessel 6cfc174
Update subplot.rst
PaulWessel 1f43f15
grdflexure -Q needs to change NEEDS from g to blank
PaulWessel b409ea9
Update inset test script to better fit original
PaulWessel 87de28c
Add example of hierarchical history
PaulWessel adb0839
Update test/modern/panels_history.sh
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
Binary file not shown.
This file contains hidden or 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,35 @@ | ||
| #!/usr/bin/env bash | ||
| # Test a 2x2 basemap matrix with different history settings | ||
| # at different hierarchical levels, showing of splines | ||
| #!/usr/bin/env bash | ||
| cat << EOF > t.txt | ||
| 5 0.5 | ||
| 12 7 | ||
| 30 5 | ||
| 50 4 | ||
| 75 1 | ||
| EOF | ||
|
|
||
| gmt begin panels_history ps | ||
| gmt set FONT_TITLE Helvetica-Bold | ||
| gmt subplot begin 2x2 -Fs3i -M5p -A -SCb -SRl -Bwstr -R0/80/0/10 -T"SPLINE INTERPOLATIONS" | ||
| gmt set FONT_ANNOT_PRIMARY=Times-Roman | ||
| gmt subplot set 0 -ALINEAR | ||
| gmt plot t.txt -Sc0.2c -Gblack | ||
| gmt set GMT_INTERPOLANT linear | ||
| gmt sample1d -I1 t.txt | gmt plot -W1p,green | ||
| gmt subplot set 1 -ACUBIC | ||
| gmt basemap | ||
| gmt plot t.txt -Sc0.2c -Gblack | ||
| gmt set GMT_INTERPOLANT cubic | ||
| gmt sample1d -I1 t.txt | gmt plot -W1p,orange | ||
| gmt subplot set 2 -A"BEZIER (In PostScript)" | ||
| gmt basemap | ||
| gmt plot t.txt -Sc0.2c -Gblack | ||
| gmt plot t.txt -W1p,blue+s | ||
| gmt subplot set 3 -AAKIMA | ||
| gmt basemap --FONT_ANNOT_PRIMARY=Helvetica-Bold | ||
| gmt plot t.txt -Sc0.2c -Gblack | ||
| gmt sample1d -I1 t.txt | gmt plot -W1p,red | ||
| gmt subplot end | ||
| gmt end show | ||
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.
Uh oh!
There was an error while loading. Please reload this page.