Plot data with slider: Difference between revisions

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


<jsxgraph width="600" height="250" box="box2">
<jsxgraph width="600" height="250" box="box2">
var brd2 = JXG.JSXGraph.initBoard('box2', {boundingbox:[0,50,1,-1], axis:true,  
var brd2 = JXG.JSXGraph.initBoard('box2', {boundingbox:[0,50,1.4,-1], axis:true,  
keepaspectratio:false});
keepaspectratio:false, showClearTraces:true});


var p = brd2.create('point', [ function() { return mu.Value();}, function() { return 1; }]);
var p = brd2.create('point', [  
            function() { return mu.Value();},  
            function() { return 1; }],
            {trace: true});





Revision as of 08:47, 12 April 2014

The JavaScript code