| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1.6 Cutting
These variables and functions set the condition when the points are excluded (cutted) from the drawing. Note, that a point with NAN value(s) of coordinate or amplitude will be automatically excluded from the drawing.
- Method on
mglGraph(C++, Python):voidSetCut (boolval) - C function:
voidmgl_set_cut (HMGLgr,intval) Flag which determines how points outside bounding box are drawn. If it is
truethen points are excluded from plot (it is default) otherwise the points are projected to edges of bounding box.
Left figure is drawn with parameter Cut=false. Right one is drawn with parameter Cut=true.
- Method on
mglGraph(C++, Python):voidSetCutBox (floatx1,floaty1,floatz1,floatx2,floaty2,floatz2) - C function:
voidmgl_set_cut_box (HMGLgr,floatx1,floaty1,floatz1,floatx2,floaty2,floatz2) Lower and upper edge of the box in which never points are drawn. If both edges are the same (the variables are equal) then the cutting box is empty. See section CutMinMax sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidCutOff (const char *EqC) - C function:
voidmgl_set_cutoff (HMGLgr,const char *EqC) Sets the cutting off condition by formula EqC. This condition determine will point be plotted or not. If value of formula is nonzero then point is omitted, otherwise it plotted. Set argument as
""to disable cutting off condition. See section CutOff sample, for sample code and picture.
- Obsolete option of mglGraph:
boolCut Flag which determines how points outside bounding box are drawn. See
SetCut().
- Obsolete option of mglGraph:
mglPointCutMin, CutMax Lower and upper edge of the box in which never points are drawn. See
SetCutBox().
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
