| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.12.4 Surf (Pure C)
- C function:
voidmgl_surf_xy (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const char *sch) The function draws surface specified parametrically {x[i,j], y[i,j], z[i,j]}. String sch sets the color scheme (see section Color scheme). Previous color scheme is used by default. If string sch have symbol ‘#’ then grid lines are drawn. The minor dimensions of arrays x, y, z should be equal x.nx=z.nx && y.nx=z.ny or x.nx=y.nx=z.nx && x.ny=y.ny=z.ny. Arrays x and y can be vectors (not matrices as z). Surface is plotted for each z slice of the data. See also Mesh(), Dens(), Belt(), Tile(), Boxs(), SurfC(), SurfA(). See section Surf sample, for sample code and picture.
- C function:
voidmgl_surf (HMGLgr,const HMDTz,const char *sch) The same as previous with x, y equidistantly distributed in interval [Min, Max].
