• Remix
  • Share
  • New Entry

on 29 Oct 2021
  • 5
  • 31
  • 0
  • 0
  • 250
% Simple line & Text metaphor
%
% Dave's "icu" inspired me to go back to some basics.
% 2 colors in color order means lines repeat the colors saving char.
% Just need to draw lines in the right order.
colororder([ .7 .7 .7; 0 0 .7 ]);
j=0:pi/50:pi; % jaw range
t=.2:(pi-.12)/31:pi-.2; % teeth range
s=@sin;
y1=s(j)*10;
y2=s(t)*10;
ytt=s(t(2:2:end));
y2(2:2:end)=ytt*10-1-ytt;
y3=s(j);
y4=s(t);
y4(2:2:end)=ytt+1+ytt;
% 4 different lines in one plot command. No need to call hold.
plot(t, y2, j, y1, t, y4, j, y3, LineW=3);
text(1,5.5,'🏊',FontSi=120);
axis off tight
Remix Tree