Maths is smART |
Maths is smart, maths is art.
|
points=linspace(0,2*pi,200);
clf
hold on
for i = points
t=linspace(0,2*pi,100);
x = cos(i)+sin(t);
y = sin(i)+cos(t);
set(gca, ‘ColorOrder’, (rand(1,3)+1)./2);
plot(x,y)
end
x = 2*sin(t);
y = 2*cos(t);
set(gca, ‘ColorOrder’, [0 0 0]);
p = plot(x,y)
set(p,’Color’,’black’,’LineWidth’,2)
hold off