Content-Length: 479 | pFad | https://github.com/matplotlib/matplotlib/raw/refs/heads/main/galleries/plot_types/3D/stem3d.py

gth: 467 """ ============= stem(x, y, z) ============= See `~mpl_toolkits.mplot3d.axes3d.Axes3D.stem`. """ import matplotlib.pyplot as plt import numpy as np plt.style.use('_mpl-gallery') # Make data n = 20 x = np.sin(np.linspace(0, 2*np.pi, n)) y = np.cos(np.linspace(0, 2*np.pi, n)) z = np.linspace(0, 1, n) # Plot fig, ax = plt.subplots(subplot_kw={"projection": "3d"}) ax.stem(x, y, z) ax.set(xticklabels=[], yticklabels=[], zticklabels=[]) plt.show()








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/matplotlib/matplotlib/raw/refs/heads/main/galleries/plot_types/3D/stem3d.py

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy