Skip to content

Commit 350d01d

Browse files
Explain scale parameter regarding size
1 parent 57121bf commit 350d01d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/tutorials/advanced/focal_mechanisms.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
1717
This tutorial focus on how to adjust the display of the beachballs:
1818
19-
- Filling the quadrants
2019
- Plotting the components of a seismic moment tensor
20+
- Filling the quadrants
2121
- Adjusting the outlines
2222
- Highlighting the nodal planes
2323
- Adding offset from the event location
@@ -65,7 +65,10 @@
6565
# to ``spec``). Additionally the ``convention`` parameter is required if ``spec`` is
6666
# an 1-D or 2-D numpy array; for the input types dictionary and ``pandas.Dataframe``,
6767
# the focal mechanism convention is automatically determined from dictionary keys or
68-
# :class:`pandas.DataFrame` column names.
68+
# :class:`pandas.DataFrame` column names. The ``scale`` parameter controlls the radius
69+
# of the beachball. By default, the value defines the size for a magnitude of 5 (i.e.,
70+
# a scalar seismic moment of M0 = 4.0E23 dyn cm). Appand ``"+l"`` to force the radius
71+
# to be proportional to the seismic moment.
6972

7073
fig = pygmt.Figure()
7174
fig.basemap(region=region, projection=projection, frame=frame)

0 commit comments

Comments
 (0)