を使用してサーフェスをプロットmpl_toolkits.mplot3d.Axes3D.plot_surface()
すると、プロットされているサーフェスの曲線をたどるように見える線が表示されます。例えば:
X, Y = numpy.meshgrid(numpy.arange(some_range), numpy.arange(some_other_range))
Z1, Z2 = numpy.array(getRate())
#getRate is a function that returns an array of shape (len(some_range), len(some_other_range)
fig = pyplot.figure()
ax = mplot3d.Axes3D(fig)
ax.plot_surface(X, Y, Z1, color='w', alpha=0.2)
ax.plot_surface(X, Y, Z2, color='b', alpha=0.2)
pyplot.show()
血まみれのものを取り除き、表面を滑らかにする方法はありますか? 私が言いたいことを示すために画像を添付しました。