[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../../gallery/widgets/../mplot3d/wire3d.html [Back]  [Original]

3D wireframe plot — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

3D wireframe plot#

A very basic demonstration of a wireframe plot.

import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import axes3d

fig = plt.figure()
ax = fig.add_subplot(projection='3d')

# Grab some test data.
X, Y, Z = axes3d.get_test_data(0.05)

# Plot a basic wireframe.
ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)

plt.show()
wire3d [wire3d]

Tags: plot-type: 3D level: beginner

Gallery generated by Sphinx-Gallery


Web Proxy Viewer  |  New URL  |  Original Page