- /
-
Egypt Flag & Pyramids ( the first submission in the comments )
on 12 Oct 2022
- 4
- 21
- 0
- 1
- 256
hold
fill([0 9 9 0 0],[0 0 1 1 0],'k',...
[0 9 9 0 0],[3 3 4 4 3],'r')
f(1,3);
f(2,5);
f(4,4);title('Vote For Me & THanks ')
%https://www.mathworks.com/matlabcentral/communitycontests/contests/4/entries/6563
function f(a,w)
e=1+.4*w;
b=a+w/2;
g=plot(polyshape([a b a+w],[1 e 1]));
g.FaceColor=[.7 .5 .2];
g.FaceAlpha=1;
line([b a+3*w/4],[e 1],'Color','k');
end