Skip to content

Commit 4e364bb

Browse files
Gallery example "Velocity arrows and confidence ellipses": Improve argument passed to "spec" (#3245)
1 parent cbbbd19 commit 4e364bb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

examples/gallery/seismology/velo_arrow_ellipse.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Velocity arrows and confidence ellipses
33
=======================================
44
5-
The :meth:`pygmt.Figure.velo` method can be used to plot mean velocity arrows
6-
and confidence ellipses. The example below plots red velocity arrows with
7-
light-blue confidence ellipses outlined in red with the east_velocity x
8-
north_velocity used for the station names. Note that the velocity arrows are
9-
scaled by 0.2 and the 39% confidence limit will give an ellipse which fits
10-
inside a rectangle of dimension east_sigma by north_sigma.
5+
The :meth:`pygmt.Figure.velo` method can be used to plot mean velocity arrows and
6+
confidence ellipses. The example below plots red velocity arrows with lightblue
7+
confidence ellipses outlined in red with the east_velocity x north_velocity used for
8+
the station names. Note that the velocity arrows are scaled by 0.2 and the 39%
9+
confidence limit will give an ellipse which fits inside a rectangle of dimension
10+
east_sigma by north_sigma.
1111
"""
1212

1313
# %%
@@ -30,12 +30,12 @@
3030
fig.velo(
3131
data=df,
3232
region=[-10, 8, -10, 6],
33-
pen="0.6p,red",
33+
projection="x0.8c",
34+
frame=["WSne", "2g2f"],
35+
spec="e0.2/0.39+f18",
3436
uncertaintyfill="lightblue1",
37+
pen="0.6p,red",
3538
line=True,
36-
spec="e0.2/0.39/18",
37-
frame=["WSne", "2g2f"],
38-
projection="x0.8c",
3939
vector="0.3c+p1p+e+gred",
4040
)
4141

0 commit comments

Comments
 (0)