Home > Objects > @iData > surf.m

iFit/surf

PURPOSE ^

h = surf(s,option) : Plot a 2D/3D object as surface

SYNOPSIS ^

function h = surf(a, option)

DESCRIPTION ^

 h = surf(s,option) : Plot a 2D/3D object as surface

   @iData/surf function to plot a 2D or 3D object
     2D objects are shown as a surface
     3D objects are shown as an isosurface with median value
     The slice(a) method opens the interactive sliceomatic 3D viewer.

 input:  s: object or array (iData)
         option: global option for 2D and 3D plots: 
                 flat, interp, faceted (for shading)
                 transparent, light, clabel
                 axis tight, axis auto, view2, view3
                 painters (bitmap drawing), zbuffer (vectorial drawing)
 output: h: graphics object handles (cell)
 ex:     surf(iData(peaks)); surf(iData(flow));

 Version: Aug. 22, 2017
 See also iData, iData/plot, iData/colormap, iData/caxis, iData/mesh
          iData/slice, iData/contour3, iData/contourf, iData/mesh
          iData/contour, iData/slice, iData/plot3, iData/surfl, iData/surfc

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1