Hyperbola II

From JSXGraph Wiki
Revision as of 19:33, 27 June 2021 by A WASSERMANN (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The underlying JavaScript code

JXG.Options.label.autoPosition = true;
JXG.Options.text.fontSize = 16;
JXG.Options.line.strokeWidth = 0.8;

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

var h = board.create('functiongraph', ['1/x']);
var l1 = board.create('line', [0, 0, 1], {dash: 1});