| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.14.2 ContXYZ
These plotting functions draw contour lines 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
gr->ContX(c.Sum("x"),"BbcyrR",-1);
gr->ContY(c.Sum("y"),0,1);
gr->ContZ(c.Sum("z"),0,-1);
|
will produce the following picture. See also ContFXYZ, DensXYZ, Cont, Data distributions. See section Cont projection sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidContX (const mglData &a,const char *stl="",floatsVal=NAN,intnum=7) - C function:
voidmgl_cont_x (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at x = sVal.
- Method on
mglGraph(C++, Python):voidContY (const mglData &a,const char *stl="",floatsVal=NAN,intnum=7) - C function:
voidmgl_cont_y (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at y = sVal.
- Method on
mglGraph(C++, Python):voidContZ (const mglData &a,const char *stl="",floatsVal=NAN,intnum=7) - C function:
voidmgl_cont_z (HMGLgr,const HMDTa,const char *stl,floatsVal,intnum) Draws num-th contour lines for data a at z = sVal.
- Method on
mglGraph(C++, Python):voidContX (const mglData &v,const mglData &a,const char *stl="",floatsVal=NAN) - 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.
- Method on
mglGraph(C++, Python):voidContY (const mglData &v,const mglData &a,const char *stl="",floatsVal=NAN) - 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.
- Method on
mglGraph(C++, Python):voidContZ (const mglData &v,const mglData &a,const char *stl="",floatsVal=NAN) - 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.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
