Skip to content

Commit ffc85e9

Browse files
Add note on gmt 4 vector syntax
1 parent 164d61d commit ffc85e9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

examples/gallery/lines/vector_heads_tails.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
the vector type, here ``"v"`` for Cartesian vector, see also the
2828
:doc:`Vector types example </gallery/lines/vector_styles>`)
2929
by passing the corresponding shortcuts to the ``style`` parameter.
30+
31+
Note: Vectors were completely redesigned for GMT 5 which separated the vector
32+
head (a polygon) from the vector stem (a line). In GMT 4, the entire vector was
33+
a polygon. Thus, for plotting an arrow with a fill for both head and stem users
34+
have to follow the GMT 4 synthax explained at :gmt-docs:`plot.html#id13`.
3035
"""
3136

3237
# %%

0 commit comments

Comments
 (0)