Drawing a cube using line command

5 次查看(过去 30 天)
Swati Sarangi
Swati Sarangi 2020-11-19
回答: KSSV 2020-11-19
Hi All,
Can anyone tell me how to draw a cube using line command (through vertices and edges)?
Thanks in advance
Regards
Swati

回答(1 个)

KSSV
KSSV 2020-11-19
You can use plot, patch, fill after arranging the vertices in a order.

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by