You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. matplotlib.mplot3d has a function plot_trisurf that can plot a 3D triangular mesh using vertex coordinates and triangle connectivity information. This is similar to gr3.createindexedmesh().
Is there any way to do this using the mlab interface? My use case is to make a figure with two subplots -- one a 2D line plot and another a 3D plot containing surface mesh of a closed shell.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
is it mandatory for you to pass the connectivity information? If not you can try mlab.trisurf. It draws a triangular mesh similar to plot_trisurf using a delaunay triangulation to create the triangles from the vertices.
Yes. It is mandatory for me to pass the connectivity information because the structure is a closed polyhedron shell. It cannot be projected to any of the xy, yz or zx planes for generating delaunay triangulation. To identify the connectivity I have to project all the points to a sphere and find the convex hull of the spherical point cloud.
Hi.
matplotlib.mplot3d
has a functionplot_trisurf
that can plot a 3D triangular mesh using vertex coordinates and triangle connectivity information. This is similar togr3.createindexedmesh()
.Is there any way to do this using the
mlab
interface? My use case is to make a figure with two subplots -- one a 2D line plot and another a 3D plot containing surface mesh of a closed shell.Thanks
The text was updated successfully, but these errors were encountered: