首页 > 解决方案 > Matplotlib:如何删除 trisurf(3D 表面)中的指南

问题描述

我想在我的情节中消除那些白色的三角形线条,但我不知道如何。谢谢

fig = plt.figure()
ax = Axes3D(fig)
surf = ax.plot_trisurf(x, y, z, shade=False, linewidth=1)
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_title('Plot')

plt.show()

这是我的绘图输出

标签: pythonmatplotlib3dsurface

解决方案


推荐阅读