GenericMappingTools / GenericMappingTools/pygmt
Higher-level plotting methods for Figure.plot and Figure.plot3d
- Dominant language
- Python
- Stars
- 874
- Forks
- 255
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 40
Description
`Figure.plot` and `Figure.plot3d` are probably the most frequently-used plotting methods. They're powerful and also complicated.
It would be better if we could provide some higher-level wrappers on top of `Figure.plot`/`Figure.plot3d`. Some possible plotting methods include (Feel free to edit the top post to add more ideas!)
- `Figure.scatter`: plot scatter points
- [matplotlib.pyplot.scatter](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.scatter.html)
- #3602
- #3598
- `Figure.scatter3d`: plot scatter points in 3-D
- https://matplotlib.org/stable/gallery/mplot3d/scatter3d.html
- `Figure.hlines`/`Figure.vlines`: plot horizontal/vertical lines
- [matplotlib.pyplot.hlines](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hlines.html)
- [matplotlib.pyplot.vlines](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.vlines.html)
- #923
- #3726
- `Figure.choropleth`: plot Choropleth maps
- https://plotly.com/python/choropleth-maps/
- #2796
- #2798
- `Figure.errorbar`: plot errorbars of data points
- #2513
- #2429
- `Figure.stem`:
- #3052
- `Figure.fill_between` (or something similar):
- #3169
- #3168
- `Figure.pie` (or something similar): making pie/doughnut charts based on data shown in map
- #3638
- `Figure.colorbar_circular` (or something similar): allow to plot circular colorbars
- #3638
- And more
Contributor guide
Assessment
This issue has not been assessed yet.