manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ 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: void DensX (const mglData &a, const char *stl=NULL, float sVal=NAN)

Draws density plot for data a at x = sVal.

Method on mglGraph: void DensY (const mglData &a, const char *stl=NULL, float sVal=NAN)

Draws density plot for data a at y = sVal.

Method on mglGraph: void DensZ (const mglData &a, const char *stl=NULL, float sVal=NAN)

Draws density plot for data a at z = sVal.


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.