Drawing a cube using line command

4 views (last 30 days)
Swati Sarangi
Swati Sarangi on 19 Nov 2020
Answered: KSSV on 19 Nov 2020
Hi All,
Can anyone tell me how to draw a cube using line command (through vertices and edges)?
Thanks in advance
Regards
Swati

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!