Difference between revisions of "Barycenter"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-2,7,7,-2], axis: true, showCopyright:false, showNavigation:false});
 
var board = JXG.JSXGraph.initBoard("jxgbox", {boundingbox: [-2,7,7,-2], axis: true, showCopyright:false, showNavigation:false});
  
 +
var p0  = board.create('point', [0, 0], {name:"p_0"});
 
var p0s = board.create('point', [2, 1], {name:"p_0'"});
 
var p0s = board.create('point', [2, 1], {name:"p_0'"});
 
var p1s = board.create('point', [4, 4], {name:"p_1'"});
 
var p1s = board.create('point', [4, 4], {name:"p_1'"});

Revision as of 20:45, 9 May 2021


The underlying JavaScript code