| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.16.2 ContXYZ (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_cont_x(gr, mgl_data_sum(c,"x"),"BbcyrR",-1,7);
mgl_cont_y(gr, mgl_data_sum(c.Sum("y"),0,1,7);
mgl_cont_z(gr, mgl_data_sum(c.Sum("z"),0,-1,7);
|
will produce the following picture. See also ContF[XYZ](), Dens[XYZ](), Cont(). See section Cont projection sample, for sample code and picture.
- C function:
voidmgl_cont_x (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at x = sVal.
- C function:
voidmgl_cont_y (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at y = sVal.
- C function:
voidmgl_cont_z (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at z = sVal.
- C function:
voidmgl_cont_x_val (HMGLgr,const HMDTv,const HMDTa,const char *stl,floatsVal) Draws contour lines for data a=v[i] at x = sVal.
- C function:
voidmgl_cont_y_val (HMGLgr,const HMDTv,const HMDTa,const char *stl,floatsVal) Draws contour lines for data a=v[i] at y = sVal.
- C function:
voidmgl_cont_z_val (HMGLgr,const HMDTv,const HMDTa,const char *stl,floatsVal) Draws contour lines for data a=v[i] at z = sVal.
