• Remix
  • Share
  • New Entry

on 24 Oct 2021
  • 1
  • 40
  • 0
  • 0
  • 252
clear
figure(Color='k')
L=40*membrane(1,25);
hold on
s=@(x,C)surface(x,FaceC=C,EdgeC='n');
% white stripes
s(L,'w');
% red stripes
R=L;
R([1:25],:)=-inf;
R(:,1:25)=-inf;
s(R,'r')
% blue area
B=L;
B(27:51,:)=-inf;
B(:,27:51)=-inf;
s(B,'b');
% stars
plot(15,38,'b*');
plot3(38,13,33,'r*');
view(3)
axis equal off
camlight
material dull
Image
Remix Tree