Matlab code for generating rectangle shapes

 Accepted Answer

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!