Note

Go to the endto download the full example code.

3D wireframe plot#

A very basic demonstration of a wireframe plot.

importmatplotlib.pyplotaspltfrommpl_toolkits.mplot3dimportaxes3dfig=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

Tags:plot-type: 3Dlevel: beginner

Gallery generated by Sphinx-Gallery