from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
a=[0,1,2,0]
b=[1,2,3,1]
c=[1,3,4,1]
x=np.array(a)
y=np.array(b)
z=np.array(c)
ax = fig.gca(projection='3d')
ax.plot(x, y, z, label='parametric curve')
plt.show()
说明,绘制一套边只需要将a b c取前两列
https://blog.youkuaiyun.com/guduruyu/article/details/78050268【python图像处理】python绘制3D图形_guduruyu的专栏-优快云博客_python绘制3d模型