Matlab code for generating rectangle shapes

10 views (last 30 days)
How can I draw a rectangle below another one in the same figure?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 27 Apr 2020
axis([0 10 0 10])
rectangle('Position',[1 2 5 6])
rectangle

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!