| | | d = -0.8:0.05:0.8; [xi,yi,zi] = meshgrid(d,d,d); w = griddata3(x,y,z,v,xi,yi,zi); | | |
| | | Since it is difficult to visualize 4D data sets, use isosurface at 0.8: p = patch(isosurface(xi,yi,zi,w,0.8)); isonormals(xi,yi,zi,w,p); set(p,1FaceColor'j'blue','EdgeColor','none'); view(3), axis equal, axis off, camlight, lighting phong | | |
| | | Algorithm The griddata3 methods are based on a Delaunay triangulation of the data that uses Qhull [1]. For information about Qhull, see http://www.qhull.org/. For copyright information, see http://www.qhull.org/COPYING.txt. | | |