manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ 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: bool Cut

Flag which determines how points outside bounding box are drawn. If it is true then points are excluded from plot (it is default) otherwise the points are projected to edges of bounding box.

png_static/cut

Left figure is drawn with parameter Cut=false. Right one is drawn with parameter Cut=true

General option of mglGraph: mglPoint CutMin, 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: void CutOff (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 NULL to disable cutting off condition. See section CutOff sample, for sample code and picture.


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.