Difference between revisions of "Adapt highlighting of objects"

From JSXGraph Wiki
Jump to navigationJump to search
Line 2: Line 2:
 
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-5, 5, 5, -5], grid: false});
 
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-5, 5, 5, -5], grid: false});
 
var p1 = brd.create('point',[3,0]);
 
var p1 = brd.create('point',[3,0]);
var p2 = brd.create('point',[-4,0]);
+
var p2 = brd.create('point',[-1,0]);
 
var p3 = brd.create('point',[0,4]);
 
var p3 = brd.create('point',[0,4]);
 
var l1 = brd.create('line',[p1,p2]);
 
var l1 = brd.create('line',[p1,p2]);

Revision as of 17:14, 18 December 2009

The JavaScript code