October 2018
Beginner to intermediate
676 pages
18h 30m
English
Here are the steps involved in drawing a wireframe plot:
fig = plt.figure(figsize=(8,6))ax = fig.add_subplot(111, projection='3d')
x = np.linspace(-2, 2, 25)y = np.linspace(-5, 5, 25)X, Y = np.meshgrid(x, y)
ax.set_xlabel('X')ax.set_ylabel('Y')ax.set_zlabel('Z')
ax.set_zlim(-4, 4)
wframe = Nonefor phi in np.linspace(0, 90, 100): if wframe: ax.collections.remove(wframe) ...
Read now
Unlock full access