- /
-
something like earth’s magnetic field
on 21 Oct 2021
- 4
- 28
- 0
- 0
- 148
[x,y] = meshgrid(-2:0.01:2);
u = x.*y;
v = exp(x.^2 -y.^2);
l = streamslice(x,y,v,u);
set(l,'LineWidth',2)
set(l,'Color','r');
hold on
sphere
view(45,45)
axis off