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

Allow drop-down shade modifier in subplot tag option #5333

Merged
merged 6 commits into from
Jun 15, 2021
Merged

Conversation

PaulWessel
Copy link
Member

Description of proposed changes

Similarly to the ability to specify a drop-down shade behind legends, this added modifier (with the same syntax) adds this capability to the subplot auto-tagging machinery:

Append +s[<dx>/<dy>/][<shade>] to plot a shadow behind the tag panel [Default is 2p/-2p/gray50].

Here is an example with the dropped shade being black and transparent, allowing subtleties in the background image to remain visible:

ex53

@PaulWessel PaulWessel added new feature PR that implements a new feature or capability in GMT new core module feature PR that implements a new core module feature labels Jun 14, 2021
@PaulWessel PaulWessel added this to the 6.3.0 milestone Jun 14, 2021
@PaulWessel PaulWessel self-assigned this Jun 14, 2021
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Jun 15, 2021
src/gmt_plot.c Outdated Show resolved Hide resolved
@PaulWessel
Copy link
Member Author

Sure, go ahead - I am on another branch anyway...

src/subplot.c Outdated Show resolved Hide resolved
doc/rst/source/subplot.rst Outdated Show resolved Hide resolved
PaulWessel and others added 2 commits June 14, 2021 15:21
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
@PaulWessel PaulWessel merged commit 1187710 into master Jun 15, 2021
@PaulWessel PaulWessel deleted the tag-shade branch June 15, 2021 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-changelog Add PR to the changelog new core module feature PR that implements a new core module feature new feature PR that implements a new feature or capability in GMT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants