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
| start | Starting value for the domain |
| stop | Ending value for the domain |
| start | Starting value for the domain |
| stop | Ending value for the domain |
| samples | Number 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) |
| tag | A vector of numbers used as the mesh's tag |
| pos_fill | Color for the positive fill (where f(x) > g(x) |
| neg_fill | Color 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)