Slider and function plot: 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="600" height="600"> | <jsxgraph width="600" height="600"> | ||
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-10, 10, 10, -10], axis:true}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-10, 10, 10, -10], axis:true}); | ||
var a = brd.create('slider',[[ | var a = brd.create('slider',[[2,-5],[7,-5],[-5,1,5]], {name:'a'}); | ||
var b = brd.create('slider',[[ | var b = brd.create('slider',[[2,-6],[7,-6],[-5,0,5]], {name:'b'}); | ||
var c = brd.create('slider',[[ | var c = brd.create('slider',[[2,-7],[7,-7],[-5,0,5]], {name:'c'}); | ||
var f = brd.create('functiongraph',[function(x){ | var f = brd.create('functiongraph',[function(x){ |