Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c24467

Browse files
committed
Add streamplot function to screenshots doc
1 parent 84188bf commit 2c24467

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

doc/users/screenshots.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ installs.
6363
.. _screenshots_ellipse_demo:
6464

6565

66+
Streamplot
67+
==========
68+
69+
The :meth:`~matplotlib.pyplot.streamplot` function plots the streamlines of
70+
a vector field. In addition to simply plotting the streamlines, it allows you
71+
to map the colors and/or line widths of streamlines to a separate parameter,
72+
such as the speed or local intensity of the vector field.
73+
74+
.. plot:: mpl_examples/images_contours_and_fields/streamplot_demo_features.py
75+
76+
This feature complements the :meth:`~matplotlib.pyplot.quiver` function for
77+
plotting vector fields. Thanks to Tom Flannaghan and Tony Yu for adding the
78+
streamplot function.
79+
80+
6681
Ellipses
6782
========
6883

0 commit comments

Comments
 (0)