Matlab program to draw cubes.
Show older comments
In a presentation I want to draw three cubes with different side. Only sides of the cube will be visible. Can any one help me?
Answers (3)
alejandro perez
on 2 Feb 2020
1 vote
In the description of this video is the code of a cube which rotates, moves and grows up.
1 Comment
Image Analyst
on 2 Feb 2020
Cool!
(Is not spam so I removed the Spam flag.)
Have you ever checked the file exchange? This link might help you: plotcube
Try to put alpha variable 1, and it only shows the sides of the cube as it is given in the example:
hold on;
plotcube([5 5 5],[2 2 2],1,[1 0 0]);
plotcube([5 5 5],[10 10 10],1,[0 1 0]);
plotcube([5 5 5],[20 20 20],1,[0 0 1]);
2 Comments
LAKSHMIKANTH D
on 12 May 2020
hold on;
plotcube([5 5 5],
plotcube([5 5 5],
plotcube([5 5 5],
Suman Maity
on 18 Jan 2019
0 votes
Categories
Find more on Numeric Solvers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!