- /
-
Microsoft
on 8 Oct 2021
- 2
- 38
- 0
- 0
- 249
set(gcf,'color','w');
% Color
r=[1 0.12 0];y=[1 .89 0];g=[0 .89 0.22];c=[0 .40 1];
% Function to draw rectangles
f=@(p,r,c)rectangle(Position=p,Curvature=r,FaceC=c,EdgeColor='w');
% Frames
f([0 0 10 10],0,r);
f([10.5 0 10 10],0,g);
f([0 -10.5 10 10],0,c);
f([10.5 -10.5 10 10],0,y);
axis equal
axis off
camva(10)