| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.1.6 Cutting
These variables and functions set the condition when the points are excluded (cutted) from the drawing.
- General option of mglGraph:
boolCut 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
- General option of mglGraph:
mglPointCutMin, CutMax 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.
- General option of mglGraph:
mglFormula *fc Formula for condition of point cutting. The point will be omitted (“cut”) if function return non-zero value for point coordinates. This variable is obsolete – use CutOff() function instead.
- Method on mglGraph:
voidCutOff (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
NULLto disable cutting off condition. See section CutOff sample, for sample code and picture.
