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

9.11.2 Dens3 (Python)

Method on mglGraph (Python): void Dens3 (mglData x, mglData y, mglData z, mglData a, char dir, int sVal=-1, const char *stl=NULL)

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 (Python): void Dens3 (mglData a, char dir, int sVal=-1, const char *sch=NULL)

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

Method on mglGraph (Python): void DensA (mglData x, mglData y, mglData z, mglData a, const char *stl=NULL)

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

Method on mglGraph (Python): void DensA (mglData a, const char *sch=NULL)

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


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