• Remix
  • Share
  • New Entry

on 15 Oct 2021
  • 32
  • 29
  • 0
  • 0
  • 236
[x,y,z] = meshgrid(-2:.2:2,-2:.25:2,-2:.16:2);
v = x.*exp(x.^2+y.^2+z.^2);
xslice = [-1.2,0.7,2]; yslice = 0.2; zslice = [-2,0];
slice(x,y,z,v,xslice,yslice,zslice)
colormap hsv
axis equal off;
material shiny;
camlight;
shading interp;
lighting gouraud;
Remix Tree