Slider and function plot: Difference between revisions

From JSXGraph Wiki
No edit summary
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]], {name:'a'});
var a = brd.create('slider',[[2,-5],[7,-5],[-5,1,5]], {name:'a'});
var b = brd.create('slider',[[3,-6],[8,-6],[-5,0,5]], {name:'b'});
var b = brd.create('slider',[[2,-6],[7,-6],[-5,0,5]], {name:'b'});
var c = brd.create('slider',[[3,-7],[8,-7],[-5,0,5]], {name:'c'});
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){

Revision as of 09:19, 12 January 2015