calculator.setExpression({id: 'line1', latex: 'y=mx', color='0xff0000'}); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({id: 'm', latex: 'm=3'}); //Inequality to shade a circle at the origin calculator.setExpression({id: 'circle1'...
To add a ticker, click the Add Item button in the top left of the expression panel of the graphing calculator. You can also type ticker into an expression line. In the Run section, specify an action. Optionally, you can set the duration in milliseconds (ms) for the time interval between...
setExpression({ id: 'm', latex: 'm=3' }); //Inequality to shade a circle at the origin calculator.setExpression({ id: 'circle1', latex: 'x^2 + y^2 < 1' }); //Restrict the slider for the m variable to the integers from 1 to 10 calculator.setExpression({ id: 'm', ...
calculator.setExpression({id: 'line1', latex: 'y=mx', color='0xff0000'}); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({id: 'm', latex: 'm=3'}); //Inequality to shade a circle at the origin calculator.setExpression({id: 'circle1'...
constructor GraphingCalculator(element, [options]) Creates a calculator object to control the calculator embedded in the DOM element specified by element. Example: var elt = document.getElementById('my-calculator'); var calculator = Desmos.GraphingCalculator(elt); The object returned is a Desmos.Gr...
calculator.setExpression({ id: 'line1', latex: 'y=mx', color: '#ff0000' }); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({ id: 'm', latex: 'm=3' }); //Inequality to shade a circle at the origin calculator.setExpression({ id: '...
The basic structure of the API is an embeddableGraphingCalculator, which is the page element which will display your axes, grid-lines, equations, and points. Constructor constructorGraphingCalculator(element, [options]) Creates a calculator object to control the calculator embedded in the DOM element...
calculator.setExpression({id: 'line1', latex: 'y=mx', color='0xff0000'}); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({id: 'm', latex: 'm=3'}); //Inequality to shade a circle at the origin calculator.setExpression({id: 'circle1'...
calculator.setExpression({ id: 'line1', latex: 'y=mx', color: '#ff0000' }); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({ id: 'm', latex: 'm=3' }); //Inequality to shade a circle at the origin calculator.setExpression({ id: '...
calculator.setExpression({ id: 'line1', latex: 'y=mx', color: '#ff0000' }); //Updating the value of m will change the slope of the line to 3 grapher.setExpression({ id: 'm', latex: 'm=3' }); //Inequality to shade a circle at the origin calculator.setExpression({ id: '...