Open
Description
Description of the desired feature
Some functions like histogram
and plot
have a -Gp
or -GP
option (in PyGMT, -G
is aliased to fill
after #1617) that sets bit and hachure patterns like so:
@JingHuiTong suggested during the AGU 2022 Fall Meeting that there could be a gallery example for this, showing how to create e.g. histogram bars with these fill patterns, to be placed under https://www.pygmt.org/v0.8.0/gallery/index.html#histograms
Extends #1156.
References:
- https://docs.generic-mapping-tools.org/6.4/cookbook/features.html#specifying-area-fill-attributes
- https://docs.generic-mapping-tools.org/6.4/cookbook/predefined-patterns.html
Are you willing to help implement and maintain this feature?
Maybe
Related PRs and issues
- PR Add a gallery example showing how to use patterns via the "fill" parameter (or similar parameters) #2329
-> gallery example Bit and Hachure Patterns - PR Expand histogram gallery example to show usage of pattern as fill #2421
-> either expand of gallery example Histogram or separat gallery example - PR Add gallery example to show usage of dcw parameter in Figure.coast #2428
-> gallery example Highlight country polygons
-> in case it is planed to also show how pattern can be used the comments up on Add a gallery example showing how to use patterns via the "fill" parameter (or similar parameters) #2329 (comment) may be helpful - Issue Define a class for GMT patterns #2438