Difference between revisions of "Differentiability"

From JSXGraph Wiki
Jump to: navigation, search
Line 11: Line 11:
  
 
var p = [];
 
var p = [];
p[0] = board.create('point', [-1,0], {size:2, color:'blue'});
+
p[0] = board.create('point', [-1,0], {withLabel: false, size:2, color:'blue'});
p[1] = board.create('point', [-0.5,3], {size:2, color:'blue'});
+
p[1] = board.create('point', [-0.5,3], {withLabel: false, size:2, color:'blue'});
p[2] = board.create('point', [2,0.5], {size:2, color:'blue'});
+
p[2] = board.create('point', [2,0.5], {withLabel: false, size:2, color:'blue'});
p[3] = board.create('point', [6, 3], {size:2, color:'blue'});
+
p[3] = board.create('point', [6, 3], {withLabel: false, size:2, color:'blue'});
 
var pol = JXG.Math.Numerics.lagrangePolynomial(p);
 
var pol = JXG.Math.Numerics.lagrangePolynomial(p);
 
var graph = board.create('functiongraph', [pol, -10, 10], {strokeWidth: 2, name:"f", withLabel: true});
 
var graph = board.create('functiongraph', [pol, -10, 10], {strokeWidth: 2, name:"f", withLabel: true});

Revision as of 21:20, 22 January 2019

The underlying JavaScript code