3D 和体积数据#
使用 mpl_toolkits.mplot3d
库绘制三维 \((x,y,z)\),曲面 \(f(x,y)=z\) 和体积 \(V_{x, y, z}\) 数据。
bar3d(x, y, z, dx, dy, dz)
fill_between(x1, y1, z1, x2, y2, z2)
fill_between(x1, y1, z1, x2, y2, z2)
plot(xs, ys, zs)
quiver(X, Y, Z, U, V, W)
scatter(xs, ys, zs)
stem(x, y, z)
plot_surface(X, Y, Z)
plot_trisurf(x, y, z)
voxels([x, y, z], filled)
plot_wireframe(X, Y, Z)