| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.10.3 Belt
- Method on
mglGraph(C++, Python):voidBelt (const mglData &x,const mglData &y,const mglData &z,const char *sch="") - C function:
voidmgl_belt_xy (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const char *sch) The function draws belts for surface specified parametrically {x[i,j], y[i,j], z[i,j]}. This plot can be used as 3d generalization of Plot (see section Plot). String sch sets the color scheme. Previous color scheme is used by default. If sch contain ‘x’ then belts are drawn along x-direction else (by default) belts are drawn along y-direction. The minor dimensions of arrays x, y, z should be equal
x.nx=z.nx && y.nx=z.nyorx.nx=y.nx=z.nx && x.ny=y.ny=z.ny. Arrays x and y can be vectors (not matrices as z). Belts are plotted for each z slice of the data. See also Fall, Surf, Plot, MeshNum (see section Other settings). See section Belt sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidBelt (const mglData &z,const char *sch="") - C function:
voidmgl_belt (HMGLgr,const HMDTz,const char *sch) The same as previous with x, y equidistantly distributed in interval [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
