| [ < ] | [ > ] | [ << ] | [ 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. See section Dens projection sample, for sample code and picture.
- Method on mglGraph:
voidDensX (const mglData &a,const char *stl=NULL,floatsVal=NAN) Draws density plot for data a at x = sVal.
- Method on mglGraph:
voidDensY (const mglData &a,const char *stl=NULL,floatsVal=NAN) Draws density plot for data a at y = sVal.
- Method on mglGraph:
voidDensZ (const mglData &a,const char *stl=NULL,floatsVal=NAN) Draws density plot for data a at z = sVal.
