Plot 3D mesh from node list and patch list?

조회 수: 1 (최근 30일)
ANAND KUMAR
ANAND KUMAR 2020년 11월 24일
답변: Shubham Rawat 2020년 11월 30일
I have a nx3 node list and nx3 patch list for a 3D object and I want to plot it. I am using patch() but it produces a 2D image. How can I get a 3D plot?

답변 (1개)

Shubham Rawat
Shubham Rawat 2020년 11월 30일
Hi Anand,
You may use patch(X,Y,Z,C) creates the polygons in 3-D coordinates using X, Y, Z.
To view the polygons in a 3-D view, you may use the view(3) command. C determines the polygon colors.
Hope This Helps!

카테고리

Help CenterFile Exchange에서 Polygons에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by