I created a patch object and then used SHRINKFACES command on it as shown below:
[x,y,z,v] = flow;[x,y,z,v] = reducevolume(x,y,z,v,2);fv = isosurface(x,y,z,v,-3);% Create a patch
p=trisurf(fv.faces,fv.vertices(:,1),fv.vertices(:,2),fv.vertices(:,3))% use SHRINKFACES on the patch
shrinkfaces(p,0.6) ;
This results in the following warnings and blank figure window.
Warning: Patch FaceVertexCData length (808) must equal 1, Vertices length (4620), or Faces length (1540) for flat FaceColor
Best Answer