Questions tagged «surface»

8
matplotlib中的曲面图
我有一个3元组的列表,表示3D空间中的一组点。我想绘制一个覆盖所有这些点的表面。 包中的plot_surface函数mplot3d要求X,Y和Z作为2d数组作为参数。是plot_surface正确的功能来绘制表面吗?如何将数据转换为所需的格式? data = [(x1,y1,z1),(x2,y2,z2),.....,(xn,yn,zn)]
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.