Hyperbola: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 2: | Line 2: | ||
JXG.Options.label.autoPosition = true;  | JXG.Options.label.autoPosition = true;  | ||
JXG.Options.text.fontSize = 16;  | JXG.Options.text.fontSize = 16;  | ||
JXG.Options.line.strokeWidth = 1;  | |||
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   | var h = board.create('hyperbola', [[-1,0], [1,0], [2, Math.sqrt(3)]]);  | ||
var l1 = board.create('line', [0, 1, 1]);  | |||
</jsxgraph>  | </jsxgraph>  | ||