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

Figure.meca: Add aliases for "Fa", "Fe", "Fg", "Ft", "Fp" #3526

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
25 changes: 25 additions & 0 deletions pygmt/src/meca.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ def convention_params(convention):
B="frame",
C="cmap",
E="extensionfill",
Fa="pt_axes",
Fe="t_axisfill",
Fg="p_axisfill",
Ft="t_axispen",
Fp="p_axispen",
Fr="labelbox",
G="compressionfill",
J="projection",
Expand Down Expand Up @@ -378,6 +383,26 @@ def meca( # noqa: PLR0912, PLR0913, PLR0915
transparent by drawing only the nodal planes and the circumference.
For non-double couple mechanisms, ``nodal=0`` overlays best
double couple transparently.
pt_axes : bool or str
[*size*\ [/*p_symbol*\ [*t_symbol*]]].
Compute and plot the P and T axes with symbols. Optionally specify size
and (separate) P and T axis symbols from the following: circle (**c**),
diamond (**d**), hexagon (**h**), inverse triangle (**i**), point (**p**),
square (**s**), triangle (**t**), cross (**x**) [Default is ``"6p/cc"``].
p_axisfill : str
Set color or pattern for filling the P axis symbol [Default is set via
``compressionfill``].
t_axisfill : str
Set color or pattern for filling the T axis symbol [Default is set via
``extensionfill``].
p_axispen : bool or str
[*pen*].
Draw the P axis symbol outline. Use *pen* to set the pen attributes for
this feature [Default is set via ``pen``].
t_axispen : bool or str
[*pen*].
Draw the T axis symbol outline. Use *pen* to set the pen attributes for
this feature [Default is set via ``pen``].
cmap : str
File name of a CPT file or a series of comma-separated colors (e.g.,
*color1,color2,color3*) to build a linear continuous CPT from those
Expand Down