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

Réponses (1)

KSSV
KSSV le 19 Nov 2020

0 votes

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!

Translated by