- /
-
curves from straight lines
on 22 Oct 2022
- 0
- 19
- 0
- 0
- 246
hold on
set(gca,'DefaultLineLineWidth',1)
for n = 1:20
b = 20:-1:1;
x = 0:n;
y = -b(n)/n*x+b(n);
plot(x,y)
x = 0:-1:-n;
y = -b(n)/-n*x+b(n);
plot(x,y)
b = -20:-1;
x = 0:-1:-n;
y = -b(n)/-n*x+b(n);
plot(x,y)
x = 0:n;
y = -b(n)/n*x+b(n);
plot(x,y)
end
xline(0)
yline(0)
axis off