Plot data with slider: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 6: Line 6:


var brd1 = JXG.JSXGraph.initBoard('box1', {boundingbox:[0,50,8,-50], axis:true, keepaspectratio:false});
var brd1 = JXG.JSXGraph.initBoard('box1', {boundingbox:[0,50,8,-50], axis:true, keepaspectratio:false});
brd1.defaultaxes.Y.setProperty({withLabel: true, name:'u'};
brd1.defaultaxes.y.setProperty({withLabel: true, name:'u'});


var mu = brd1.create('slider', [[2.5,30], [5,30], [0, 1, 1]], {name:'μ'});
var mu = brd1.create('slider', [[2.5,30], [5,30], [0, 1, 1]], {name:'μ'});

Revision as of 08:57, 12 April 2014

The JavaScript code