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

9.11.6 Cloud (Python)

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

The function draws cloud plot for 3d data specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]). This plot is a set of cubes with color and transparency proportional to value of a. The resulting plot is like cloud – low value is transparent but higher ones are not. The number of plotting cells depend on MeshNum (see section Other settings). String sch sets the color scheme. Previous color scheme is used by default. Parameter alpha changes the overall transparency of plot. 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 Surf3. See section CloudQ sample, for sample code and picture.

Method on mglGraph (Python): void Cloud (mglData a, const char *stl=NULL, float alpha=1)

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.