Difference between revisions of "Tape measure"

From JSXGraph Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
<jsxgraph height="500" width="500" box="box">
 
<jsxgraph height="500" width="500" box="box">
var board = JXG.JSXGraph.initBoard('box', {boundingbox: [-1,3,3,-1]});
+
var board = JXG.JSXGraph.initBoard('box', {boundingbox: [-1,3,3,-1], axis:true});
 
var p1 = board.create('point', [0,0]);
 
var p1 = board.create('point', [0,0]);
 
var p2 = board.create('point', [1,1]);
 
var p2 = board.create('point', [1,1]);

Revision as of 12:33, 14 March 2013

The JavaScript code

[[Category::Examples]] [[Category::Geometry]]