Hyperbola: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:
JXG.Options.text.fontSize = 16;
JXG.Options.text.fontSize = 16;


var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-2, 5, 8, -5], axis: true, showClearTraces: true});
var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-5, 5, 5, -5], axis: true, showClearTraces: true});


var a = board.create('hyperbola', [[-1,0], [1,0]]);
var a = board.create('hyperbola', [[-1,0], [1,0], [2, Math.srqt(3)]);
</jsxgraph>
</jsxgraph>



Revision as of 19:32, 13 June 2021

The underlying JavaScript code