manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.11.2 Dens3

Method on mglGraph (C++, Python): void Dens3 (const mglData &x, const mglData &y, const mglData &z, const mglData &a, char dir, int sVal=-1, const char *stl="")
C function: void mgl_dens3_xyz (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const HMDT a, char dir, int sVal, const char *stl)

The function draws density plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). Density is plotted at slice sVal in dir={‘x’, ‘y’, ‘z’} direction. String sch sets the color scheme. Previous color scheme is used by default. If string stl have symbol ‘#’ then grid lines are drawn. The minor dimensions of arrays x, y, z must be equal. Arrays x, y, z can be vectors (not 3d arrays as a). See also Cont3, ContF3, Dens, Grid3. See section Dens3 sample, for sample code and picture.

Method on mglGraph (C++, Python): void Dens3 (const mglData &a, char dir, int sVal=-1, const char *sch="")
C function: void mgl_dens3 (HMGL gr, const HMDT a, char dir, int sVal, const char *sch)

The same as previous with x, y, z equidistantly distributed in interval [Min, Max].

Method on mglGraph (C++, Python): void DensA (const mglData &x, const mglData &y, const mglData &z, const mglData &a, const char *stl="")
C function: void mgl_dens3_all_xyz (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const HMDT a, const char *stl)

Draws density plots at all central slices of the 3d data specified parametrically.

Method on mglGraph (C++, Python): void DensA (const mglData &a, const char *sch="")
C function: void mgl_dens3_all (HMGL gr, const HMDT a, const char *sch)

The same as previous with x, y, z equidistantly distributed in interval [Min, Max].


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