I'm trying to plot a hull using trisurf. I need to specify the color of each triangle (there are many). Can this be done? I tried this but it does not work:
import matplotlib.pyplot as plt:
...
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.plot_trisurf(points[:,0], points[:,1], points[:,2],
triangles=faces, cmap=facecolors)
plt.show()
facecolorsis a matrix withlen(faces)rows; each row is (R,G,B). If I omit thecmapargument it plots fine but monochromatically, of course.
Is it possible to do what I want?