- /
-
colored plate 2136
on 31 Oct 2021
- 2
- 12
- 1
- 0
- 255
x=linspace(0, 9*pi);
m=0.25;
y=m*sin(x/9).*x.*sin(x);
h1=plot(x,y,LineWidth=2);
hold on;
k=360;
c=hsv(k);
for n = 1:k
h2 = copyobj(h1, gca);
t = hgtransform;
set(h2,Parent=t,Color=c(n,:))
theta = n*2*pi/k;
rot = makehgtform(ZRotate=theta);
set(t, Matrix=rot);
%plot(x,y+(n-k/2)*0.05*sin(x/9),Color=c(n,:));
end
axis equal
axis off