AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: drawSet

drawSet(S) plots the set S ⊂ R^2 in the 2D visualization window.

drawSet(S, s) plots the set S ⊂ R^2 in the 2D visualization window using the style (CSS) s.

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