• Remix
  • Share
  • New Entry

on 31 Oct 2021
  • 2
  • 25
  • 5
  • 0
  • 180
x = linspace(0, 4*pi);
y = 0.25*x.*sin(x);
h1 = plot(x, y, LineWidth=8);
k = 90;
c = hsv(k);
for n = 1:k
h2 = copyobj(h1, gca);
t = hgtransform;
set(h2,Parent=t,Color=c(n,:))
end
axis equal
axis off
Remix Tree
Load full remix tree