Hyperbola II: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="500" height="500"> JXG.Options.label.autoPosition = true; JXG.Options.text.fontSize = 16; JXG.Options.line.strokeWidth = 0.8; var board = JXG.JSXGraph.initBo...") |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-5, 5, 5, -5], axis: true, showClearTraces: true}); | var board = JXG.JSXGraph.initBoard('jxgbox', { boundingbox: [-5, 5, 5, -5], axis: true, showClearTraces: true}); | ||
var h = board.create(' | var h = board.create('functiongraph', ['1/x']); | ||
var l1 = board.create('line', [0, 1, | var l1 = board.create('line', [0, 1, 0], {dash: 1}); | ||
</jsxgraph> | </jsxgraph> | ||