Create a basic-graph-spec object.
A function of two arguments x and y.
A basic-graph-spec object.
make-basic-graph-spec creates a basic-graph-spec object. This object can be modified by the
basic-graph-spec-* accessors. The function
generate-graph-from-graph-spec generates the graph using the current values in the basic-graph-spec object, which is a drawing-object which when drawn draws the graph, which means drawing a line between each two successive points.
function must be a function of two arguments: the basic-graph-spec and the x value. It needs to return the corresponding y value.
define which x values to use: the first value is
, and then increase by
until the x is greater than (+
). For each x value,
and the x value to generate the y value.
The scaled and transformed pair x, y define a point.
generate-graph-from-graph-spec then generates a drawing-object that draws a line between each two successive points.
copy-basic-graph-spec can be used to copy a basic-graph-spec.
basic-graph-spec-p is the predicate.
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017