Creating a Triangulation for use in Matplotlib's plot_trisurf with matplotlib.tri.Triangulation
I am a trying to use matplotlib.tri.Triangulation to generate the triangles for a matplotlibs plot_trisurf . I want to specify the triangles rather than letting the Delaunay triangulation which matplotlib.tri.Triangulation uses because it does not work for some cases such as triangles in in the xz or yz plane. I am not sure if this specifying the triangles myself will solve the problem but I seems like a good thing to try. The issue is that the triangulation requires a (n,3) array with n being the number of triangles. To quote the page on matplotlib.org "For each triangle, the indices of the