mpl_toolkits.mplot3d.axes3d.Axes3D.plot_wireframe#

Axes3D.plot_wireframe(X,Y,Z,*,axlim_clip=False,**kwargs)[source]#

Plot a 3D wireframe.

Note

Thercount andccount kwargs, which both default to 50,determine the maximum number of samples used in each direction. Ifthe input data is larger, it will be downsampled (by slicing) tothese numbers of points.

Parameters:
X, Y, Z2D arrays

Data values.

axlim_clipbool, default: False

Whether to hide lines and patches with vertices outside the axesview limits.

Added in version 3.10.

rcount, ccountint

Maximum number of samples used in each direction. If the inputdata is larger, it will be downsampled (by slicing) to thesenumbers of points. Setting a count to zero causes the data to benot sampled in the corresponding direction, producing a 3D lineplot rather than a wireframe plot. Defaults to 50.

rstride, cstrideint

Downsampling stride in each direction. These arguments aremutually exclusive withrcount andccount. If only one ofrstride orcstride is set, the other defaults to 1. Setting astride to zero causes the data to be not sampled in thecorresponding direction, producing a 3D line plot rather than awireframe plot.

'classic' mode uses a default ofrstride=cstride=1 insteadof the new default ofrcount=ccount=50.

**kwargs

Other keyword arguments are forwarded toLine3DCollection.

Examples usingmpl_toolkits.mplot3d.axes3d.Axes3D.plot_wireframe#

Clip the data to the axes view limits

Clip the data to the axes view limits

3D plot projection types

3D plot projection types

3D plots as subplots

3D plots as subplots

3D wireframe plot

3D wireframe plot

3D wireframe plots in one direction

3D wireframe plots in one direction

plot_wireframe(X, Y, Z)

plot_wireframe(X, Y, Z)