Difference between revisions of "Differentiability"

From JSXGraph Wiki
Jump to: navigation, search
Line 18: Line 18:
 
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});
  
var x0 = board.create('glider', [1, 0, board.defaultAxes.x], {name: 'x_0', size:4, label: {display: 'html'}});
+
var x0 = board.create('glider', [1, 0, board.defaultAxes.x], {name: 'x_0', size:4, label: {parse: true, display: 'html'}});
 
var fx0 = board.create('point', [function() { return x0.X(); }, function() { return pol(x0.X()); }], {name: '', color: 'grey', fixed: true, size:3});
 
var fx0 = board.create('point', [function() { return x0.X(); }, function() { return pol(x0.X()); }], {name: '', color: 'grey', fixed: true, size:3});
 
var x = board.create('glider', [5, 0, board.defaultAxes.x], {name: 'x', size:4});
 
var x = board.create('glider', [5, 0, board.defaultAxes.x], {name: 'x', size:4});

Revision as of 21:18, 22 January 2019

The underlying JavaScript code