| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.16.1 DensXYZ (Pure C)
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
mgl_dens_x(gr, mgl_data_sum(c,"x"),"BbcyrR",-1);
mgl_dens_y(gr, mgl_data_sum(c.Sum("y"),0,1);
mgl_dens_z(gr, mgl_data_sum(c.Sum("z"),0,-1);
|
will produce the following picture. See also Cont[XYZ](), ContF[XYZ](), Dens(). See section Dens projection sample, for sample code and picture.
- C function:
voidmgl_dens_x (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at x = sVal.
- C function:
voidmgl_dens_y (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at y = sVal.
- C function:
voidmgl_dens_z (HMGLgr,const HMDTa,const char *stl,floatsVal) Draws density plot for data a at z = sVal.
