Inequalities: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph width="400" height="400" box="box1"> | <jsxgraph width="400" height="400" box="box1"> | ||
(function() { | (function() { | ||
var b = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], | var b = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], axis:true}); | ||
var c = b.create('slider', [[-3,4],[2,4],[-5,1,5]]), | var c = b.create('slider', [[-3,4], [2,4], [-5,1,5]]), | ||
line = b.create('line', [function() { return [c.Value() | line = b.create('line', [function() { return [c.Value(), 1, 2]; }]); | ||
})(); | })(); | ||
</jsxgraph> | </jsxgraph> |