Drawing a cube using line command

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.

类别

在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

回答:

2020-11-19

Community Treasure Hunt

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

Start Hunting!

Translated by