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. See Cutting sample, for sample code and picture.
val
¶mglGraph
: void
SetCut (bool
val)
¶void
mgl_set_cut (HMGL
gr, int
val)
¶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.
x1 y1 z1 x2 y2 z2
¶mglGraph
: void
SetCutBox (mglPoint
p1, mglPoint
p1)
¶void
mgl_set_cut_box (HMGL
gr, mreal
x1, mreal
y1, mreal
z1, mreal
x2, mreal
y2, mreal
z2)
¶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.
'cond'
¶mglGraph
: void
CutOff (const char *
cond)
¶void
mgl_set_cutoff (HMGL
gr, const char *
cond)
¶Sets the cutting off condition by formula cond. 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.