| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.10.7 Dens
- Method on
mglGraph(C++, Python):voidDens (const mglData &x,const mglData &y,const mglData &z,const char *sch="",floatzVal=NAN) - C function:
voidmgl_dens_xy (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const char *sch,floatzVal) The function draws density plot for surface specified parametrically {x[i,j], y[i,j], z[i,j]} at z = zVal. String sch sets the 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.nyorx.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 Surf, Cont, ContF, Boxs, Tile, DensXYZ. See section Dens sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidDens (const mglData &z,const char *sch="",floatzVal=NAN) - C function:
voidmgl_dens (HMGLgr,const HMDTz,const char *sch,floatzVal) The same as previous with x, y equidistantly distributed in interval [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
