- /
-
Signal
on 30 Oct 2021
- 27
- 48
- 0
- 0
- 179
x = linspace(0, 4*pi);
y = 0.5*x.*sin(x);
h1 = plot(x, y, LineWidth=5);
k = 10;
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