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 Center および File ExchangePolygons についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by