how do i color this?
Show older comments

hello guys. I how do i color the outer rectangle into red? this is the function.
figure
rectangle('Position',[0 0 2 4],'Curvature',0.2)
axis equal
rectangle ('Position',[0.2 3 0.7 0.9],'Curvature',0.2)
Accepted Answer
More Answers (0)
Categories
Find more on Labels and Annotations 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!