Hyperbola III: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 19: Line 19:
var hyp = board.create('hyperbola', [f1, f2, p]);
var hyp = board.create('hyperbola', [f1, f2, p]);


var ax_z1 = board.create('axis', [[-2, 1], [-1, 2]]);
var ax_z1 = board.create('line', [[-2, 1], [-1, 2]], {lastArrow: true, strokeColor:'black'});
var ax_z2 = board.create('axis', [[-2, 1], [-3, 2]]);
var ax_z2 = board.create('line', [[-2, 1], [-3, 2]], {lastArrow: true, strokeColor:'black'});
board.update();
board.update();



Revision as of 07:41, 6 July 2021

The underlying JavaScript code