{id:'note', latex:'\\"\\left\\{ This is a note \\right\\}',},
{id:'notes', latex:'\\text\\left\\{ This is a note \\right\\}', type: 'note'},
"latex":"f(x)=w(x-q)+p\\left\\{x\\ge0\\right\\}"
VM9774:1 Uncaught SyntaxError: Unexpected token l in JSON at position 1182
at JSON.parse (<anonymous>)
at test_spara_state.html:37
Calc.setState({ "version": 5, "graph": { "viewport": { "xmin": -10, "ymin": -6.597294484911551, "xmax": 10, "ymax": 6.597294484911551 } }, "expressions": { "list": [ { "type": "expression", "id": "2", "color": "#2d70b3",
"latex": "f(x)=w(x-q)+p\\left\\{x\\ge0\\right\\}" }
] }})
> Calc.setExpression({"latex":"f(x)=w(x-q)+p\\left\\{x\\ge0\\right\\}"})
> copy(Calc.getState())
var state = JSON.stringify({"version":5,"graph":{"squareAxes":false, [...] "latex":"b=\\left(q_1,u\\left(q_1\\right)\\right)","color":"#2d70b3","style":"POINT"}]}})
var elt = document.getElementById('calculator0');
var calculator = Desmos.GraphingCalculator(elt, {
keypad: false
//, expressionsTopbar: false
, lockViewport: false
});
calculator.setState(state);