Repository navigation
Description
This issue serves as the central place for discussing and tracking the
implementation of the plot and plot3d methods in PyGMT. The two
methods are closely related 2-D / 3-D variants and are tracked together
to avoid duplication. The issue will be closed when the initial
implementation of both methods is complete. Progress is tracked at
PyGMT: Wrapping GMT modules.
Documentation
Figure.plot
- GMT: https://docs.generic-mapping-tools.org/dev/plot.html
- GMT.jl: https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/plot
- PyGMT: https://www.pygmt.org/dev/api/generated/pygmt.Figure.plot.html
Figure.plot3d
- GMT: https://docs.generic-mapping-tools.org/dev/plot3d.html
- GMT.jl: https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/plot3d
- PyGMT: https://www.pygmt.org/dev/api/generated/pygmt.Figure.plot3d.html
GMT Option Flags and Modifiers
☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.
Shared options (Figure.plot and Figure.plot3d)
-
-A:straight_line -
-B:frame -
-C:cmap -
-D:offset -
-G:fill -
-I:intensity -
-J:projection -
-L:close -
-N:no_clip -
-R:region -
-S:style -
: Use-UFigure.timestampinstead. -
-V:verbose -
-W:pen -
: Use-X/-YFigure.shift_origininstead. -
-Z:zvalue -
-a:aspatial -
-b:binary -
-c:panel -
-d:nodata -
-e:find -
-f:coltypes -
-g:gap -
-h:header -
-i:incols -
-l:label -
-p:perspective -
-t:transparency -
-w:wrap -
: Use--PAR=valuepygmt.configinstead.
Figure.plot only
-
-E:error_bar -
-F:connection -
-M:fill_between
Figure.plot3d only
-
-Jz/-JZ:zscale/zsize -
-Q:no_sort
Notes on Input Formats
Both methods accept data provided as:
- A file name or 2-D array/DataFrame/etc. passed via the
dataparameter. - Separate
x/y(andzforplot3d) coordinate arrays.
When using x/y[/z], the following can additionally be 1-D arrays:
fill (requires cmap=True), size, intensity, symbol, transparency.
Figure.plot also accepts a direction list of two 1-D arrays for vector
styles (style="V" or style="v"); Figure.plot3d supports the same.
Related GMT Configurations
List any related GMT configurations that may affect the behavior.
Linked Pull Requests
Add links to related pull requests here.
Related Issues and Discussions
Add links to related wrapper discussions, API design threads, or upstream GMT changes here.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity