3D Quiver
Jet Stream Flow Pattern
Atmospheric jet stream vectors showing the fast-moving air current with meandering patterns.
Output
Python
import matplotlib.pyplot as plt
import numpy as np
# Jet stream flow pattern
n = 6
x = np.linspace(-3, 3, n)
y = np.linspace(-2, 2, 5)
z = np.linspace(8, 12, 3) # High altitude
X, Y, Z = np.meshgrid(x, y, z)
# Jet core with Gaussian profile
jet_speed = 2 * np.exp(-Y**2 / 2)
U = jet_speed
V = 0.3 * np.sin(X * 0.5) # Meanders
W = 0.1 * np.cos(X * 0.5)
fig = plt.figure(figsize=(10, 8), facecolor='#ffffff')
ax = fig.add_subplot(111, projection='3d', facecolor='#ffffff')
ax.quiver(X, Y, Z, U, V, W, length=0.4, normalize=True,
color='#6366f1', alpha=0.8, arrow_length_ratio=0.3)
ax.set_xlim(-3.5, 3.5)
ax.set_ylim(-2.5, 2.5)
ax.set_zlim(7, 13)
ax.set_xlabel('Longitude', color='#1f2937', fontsize=10)
ax.set_ylabel('Latitude', color='#1f2937', fontsize=10)
ax.set_zlabel('Altitude (km)', color='#1f2937', fontsize=10)
ax.set_title('Jet Stream Flow Pattern', color='#1f2937', fontsize=14, fontweight='bold', pad=20)
ax.tick_params(colors='#6b7280', labelsize=8)
ax.xaxis.pane.fill = False
ax.yaxis.pane.fill = False
ax.zaxis.pane.fill = False
ax.xaxis.pane.set_edgecolor('#e5e7eb')
ax.yaxis.pane.set_edgecolor('#e5e7eb')
ax.zaxis.pane.set_edgecolor('#e5e7eb')
ax.view_init(elev=20, azim=25)
plt.tight_layout()
plt.show()
Library
Matplotlib
Category
3D Charts
☕