| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.14.1 DensXYZ
These plotting functions draw density plot in x, y, or z plain. If a is a tensor (3-dimensional data) then interpolation to a given sVal is performed. These functions are useful for creating projections of the 3D data array to the bounding box. For example, code like
gr->DensX(c.Sum("x"),"BbcyrR",-1);
gr->DensY(c.Sum("y"),0,1);
gr->DensZ(c.Sum("z"),0,-1);
|
will produce the following picture. See also ContXYZ, ContFXYZ, Dens, Data distributions. See section Dens projection sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidDensX (const mglData &a,const char *stl="",floatsVal=NAN) - C function:
voidmgl_dens_x (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at x = sVal.
- Method on
mglGraph(C++, Python):voidDensY (const mglData &a,const char *stl="",floatsVal=NAN) - C function:
voidmgl_dens_y (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at y = sVal.
- Method on
mglGraph(C++, Python):voidDensZ (const mglData &a,const char *stl="",floatsVal=NAN) - C function:
voidmgl_dens_z (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at z = sVal.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
