Plot data with slider: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
var brd = JXG.JSXGraph.initBoard('box1', {boundingbox:[0,50,8,-50], axis:true, keepaspectratio:false}); | var brd = JXG.JSXGraph.initBoard('box1', {boundingbox:[0,50,8,-50], axis:true, keepaspectratio:false}); | ||
var mu = brd.create('slider', [[ | var mu = brd.create('slider', [[2.5,30], [5,30], [0, 1, 1]], {name:'μ'}); | ||
var plot = brd.create('curve', plotdata, {type:'plot'}); | var plot = brd.create('curve', plotdata, {type:'plot'}); | ||
</jsxgraph> | </jsxgraph> |