6.3.5 Streamline Chart
1. Streamline Plot
Basic streamline plot
import plotly.figure_factory as ff
import numpy as np
x = np.linspace(-2, 2, 100)
y = np.linspace(-2, 2, 100)
Y, X = np.meshgrid(x, y)
u = -2 - X**2 + Y
v = 2 + X - Y**2
# Create streamline figure
fig = ff.create_streamline(x, y, u, v, arrow_scale=.2)
fig.show()
Streamline with source points

2. Quiver Plot
Basic quiver plot

Quiver plot with source points

3. 3-D Quiver Plot
Simple 3-D quiver plot

Customized 3-D quiver plot

Last updated