• Remix
  • Share
  • New Entry

  • michio

  • /
  • Snowy Lego Membrane

on 15 Oct 2021
  • 3
  • 71
  • 0
  • 0
  • 262
Z = max(round(membrane*24),0);
for j=1:31
zz=zeros(31,24);
for i=1:31
zz(i,1:Z(i,j)) = 1;
end
h = bar3(zz,'stacked');
for k=1:length(h)
h(k).XData = h(k).XData + j;
h(k).FaceColor = 'flat';
end
hold on
end
view(gca,[35 30]);
colormap([lines;1,1,1])
set(gca,'XLim',[0,j])
axis equal off
Image
Remix Tree