- /
-
OOPS
on 23 Oct 2021
- 9
- 18
- 1
- 0
- 279
% overlapping 6 graphs
A=[.2;.1;.04;.2;.4];
B=[.7;.8;.4;.9;.9];
C=[.5;.5;.7;.7;.5];
Z=randi(10,5,1)*pi*2; % Make random
m=(0:.01:1).*Z;
n=m.*(A./B);
p=A-B;
X=p.*cos(m)-cos(n).*C;
Y=p.*sin(m)-sin(n).*C;
% Have colors expand out from the center.
Z=hypot(X,Y);
hold
c=rand(99,3);
for k=1:5
h=fill(X(k,:)+1.5*c(k),Y(k,:),Z(k,:),FaceA=c(k*2),EdgeC='interp');
end
% Expensive character wise, but I think this colormap looks nice for these shapes.
%colormap("autumn")
colormap([c;turbo])
axis off