- /
-
Julia
on 27 Oct 2021
- 1
- 10
- 6
- 0
- 201
[x,y]=meshgrid(-1.5:0.001:1.5,-1.2:0.001:1.2);
m=zeros(height(y),width(x));
c=m-0.3-0.63*i;
z=x + y*i;
for j=2:128
z=z.^2+c;
m(logical((m==0).*(abs(z)==Inf)))=j;
end
imagesc(m)
colormap(gca,'colorcube')
axis equal off