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 p0s = board.create('point', [2, 1], {name:'p_0'});
 +
var p1s = board.create('point', [4, 4], {name:'p_1'});
 +
var p2s = board.create('point', [1, 2], {name:'p_2'});
 +
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 20:36, 9 May 2021


The underlying JavaScript code