Plotting irregular volume of given vertices.
Afficher commentaires plus anciens
I am using convhull for plotting 3D irregular volume for a given set of vertices(more than 10). But the resulting volume consist of lines connecting between all vertices as shown in the figure.
Is there any method to plot only the faces and avoid the lines passing through the volume?
if true
% code
x=pts1(:,1);y=pts1(:,2);z=pts1(:,3);
k = convhull(x,y,z);
plot3(x(k),y(k),z(k),'r-')
end

Thanks Shyam
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Polygons dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
