• Remix
  • Share
  • New Entry

on 12 Oct 2021
  • 1
  • 10
  • 0
  • 0
  • 275
Z=@(x,y,z) x.^2+y.^2-25;
Y=@(x,y,z) x.^2+z.^2-25;
X=@(x,y,z) y.^2+z.^2-25;
a=[-10 10];
b=[a a a];
hold on
f_3(Z,b,'r',.15)
f_3(Y,b,'g',.15)
f_3(X,b,'b',.15)
hold off
axis equal off
view(-135,27)
function f_3(f,int,col,alp)
h=fimplicit3(f,int);
h.FaceColor=col;
h.EdgeColor='none';
h.FaceAlpha=alp;
end
Remix Tree