ExplicitFuncDiff

ABSTRACT

Generates a difference plot of two explicit functions based on specified parameters.

REMARK

Useful for showing the area (or signed area) under curves by setting g(x) to be 0

PARAMETERS
startStarting value for the domain
stopEnding value for the domain
startStarting value for the domain
stopEnding value for the domain
samplesNumber of samples within the domain
f(x)The first explicit function (should return a scalar)
g(x)The second explicit function (should return a scalar)
tagA vector of numbers used as the mesh's tag
pos_fillColor for the positive fill (where f(x) > g(x)
neg_fillColor for the negative fill (where f(x) < g(x)
RETURN

Generates a difference plot of two explicit functions over the specified domain

DECLARATION
func ExplicitFuncDiff([domain] {[main] {start, stop}, [step] {start, stop, samples}}, f(x), g(x), tag, pos_fill, neg_fill)