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, Data distributions. See section Dens projection sample, for sample code and picture.

Method on mglGraph (C++, Python): void DensX (const mglData &a, const char *stl="", float sVal=NAN)
C function: void mgl_dens_x (HMGL gr, const HMDT a, const char *stl, float sVal)

Draws density plot for data a at x = sVal.

Method on mglGraph (C++, Python): void DensY (const mglData &a, const char *stl="", float sVal=NAN)
C function: void mgl_dens_y (HMGL gr, const HMDT a, const char *stl, float sVal)

Draws density plot for data a at y = sVal.

Method on mglGraph (C++, Python): void DensZ (const mglData &a, const char *stl="", float sVal=NAN)
C function: void mgl_dens_z (HMGL gr, const HMDT a, const char *stl, float sVal)

Draws density plot for data a at z = sVal.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.