ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: createGraph

createGraph(expr, var, int) returns the graph { (x, y) : y = expr(var), var ∈ int }, where expr (a string, an expression) is a function of var (a string, a valid identifier), and the pre-image is the interval (or, generally, set) int.

Examples: set ≔ createGraph("sin(x)", "x", [-10, 10, 0.001])
          drawSet("set")