File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
examples/gallery/seismology Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 2
2
Velocity arrows and confidence ellipses
3
3
=======================================
4
4
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.
11
11
"""
12
12
13
13
# %%
30
30
fig .velo (
31
31
data = df ,
32
32
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" ,
34
36
uncertaintyfill = "lightblue1" ,
37
+ pen = "0.6p,red" ,
35
38
line = True ,
36
- spec = "e0.2/0.39/18" ,
37
- frame = ["WSne" , "2g2f" ],
38
- projection = "x0.8c" ,
39
39
vector = "0.3c+p1p+e+gred" ,
40
40
)
41
41
You can’t perform that action at this time.
0 commit comments