Menu

[r7974]: / branches / mathtex / examples / mplot3d / wire3d_demo.py  Maximize  Restore  History

Download this file

12 lines (8 with data), 236 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = axes3d.Axes3D(fig)
X, Y, Z = axes3d.get_test_data(0.05)
ax.plot_wireframe(X, Y, Z, rstride=10, cstride=10)
plt.show()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.