Difference between revisions of "Barycenter"

From JSXGraph Wiki
Jump to navigationJump to search
Line 9: Line 9:
 
var p2s = board.create('point', [1, 2], {name:"p_2'"});
 
var p2s = board.create('point', [1, 2], {name:"p_2'"});
  
var l1 = board.create('line', [p0s, p1s], {straightLast: true, color: 'orange'});
+
var l1 = board.create('line', [p0s, p1s], {lastArrow: true, color: 'orange'});
var l1 = board.create('line', [p0s, p2s], {straightLast: true, color: 'orange'});
+
var l1 = board.create('line', [p0s, p2s], {lastArrow: true, color: 'orange'});
  
 
</jsxgraph>
 
</jsxgraph>

Revision as of 21:38, 9 May 2021


The underlying JavaScript code