Difference between revisions of "Slider and function plot"

From JSXGraph Wiki
Jump to: navigation, search
Line 2: Line 2:
 
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',[[3,-5],[8,-5],[-5,1,5]], {name:'a'});
var b = brd.create('slider',[[3,-7],[8,-7],[-5,0,5]], {name:'b'});
+
var b = brd.create('slider',[[3,-6],[8,-6],[-5,0,5]], {name:'b'});
var c = brd.create('slider',[[3,-9],[8,-9],[-5,0,5]], {name:'c'});
+
var c = brd.create('slider',[[3,-7],[8,-7],[-5,0,5]], {name:'c'});
  
 
var f = brd.create('functiongraph',[function(x){
 
var f = brd.create('functiongraph',[function(x){

Revision as of 11:18, 12 January 2015