• Remix
  • Share
  • New Entry

on 27 Oct 2021
  • 18
  • 26
  • 1
  • 0
  • 280
%close all
x = 0:0.01:1;
[x,y,z] = meshgrid(x,x,x);
f = @(x)sin(2*pi*(x));
F = f(x).*f(y).*f(2.5*z);
hold on
isosurface(x,y,z,F,0.1,x)
isosurface(x,y,z,F.^2,0.25,x)
isosurface(x,y,z,F.^4,0.55,x)
isosurface(x,y,z,F.^6,0.75,x)
isosurface(x,y,z,F.^8,0.95,x)
colormap bone
pbaspect([1,1,1])
view(45,25)
axis off;
Image
Remix Tree