| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.11.6 Cloud
- Method on
mglGraph(C++, Python):voidCloud (const mglData &x,const mglData &y,const mglData &z,const mglData &a,const char *stl="",floatalpha=1) - C function:
voidmgl_cloud_xyz (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const HMDTa,const char *stl,floatalpha=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 Cloud sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidCloud (const mglData &a,const char *stl="",floatalpha=1) - C function:
voidmgl_cloud (HMGLgr,const HMDTa,const char *stl,floatalpha=1) The same as previous with x, y, z equidistantly distributed in interval [Min, Max].
- Method on
mglGraph(C++):voidCloudP (const mglData &x,const mglData &y,const mglData &z,const mglData &a,const char *stl="",floatalpha=1) - C function:
voidmgl_cloudp_xyz (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const HMDTa,const char *stl,floatalpha=1) The same as first one but the semi-transparent points are used instead of cubes. See section CloudP sample, for sample code and picture.
- Method on
mglGraph(C++):voidCloudP (const mglData &a,const char *stl="",floatalpha=1) - C function:
voidmgl_cloudp (HMGLgr,const HMDTa,const char *stl,floatalpha=1) The same as previous with x, y, z equidistantly distributed in interval [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
