Reference: intGraph
intGraph(S) returns the graph of the primitive function F of f with graph S = { ❨x, f(x)❩ } such that F(xmin) = 0, where xmin is the lowest (or, rather, first) x-value in S.
Example: gauss ≔ createGraph("exp(-x^2)", "x", [-10, 10, 0.01])
erf ≔ intGraph(gauss)
drawSet("erf")