Slider and function plot: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (Created page with "<jsxgraph width="600" height="600"> var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-10, 10, 10, -10], axis:true}); var a = brd.create('slider',[[3,-5],[8,-5],[...") |
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',[[3,-5],[8,-5],[-5,1,5]]); | var a = brd.create('slider',[[3,-5],[8,-5],[-5,1,5]], {name:'a'}); | ||
var b = brd.create('slider',[[3,-7],[8,-7],[-5,0,5]]); | var b = brd.create('slider',[[3,-7],[8,-7],[-5,0,5]], {name:'b'}); | ||
var c = brd.create('slider',[[3,-9],[8,-9],[-5,0,5]]); | var c = brd.create('slider',[[3,-9],[8,-9],[-5,0,5]], {name:'c'}); | ||
var f = b.create('functiongraph',[function(x){ | var f = b.create('functiongraph',[function(x){ |