Difference between revisions of "Rectangles"

From JSXGraph Wiki
Jump to navigationJump to search
Line 13: Line 13:
  
 
<jsxgraph width="300" height="300" box="box2">
 
<jsxgraph width="300" height="300" box="box2">
var b2 = JXG.JSXGraph.initBoard('box2', {boundingbox: [-5, 5, 5, -5], grid:true});
+
var b2 = JXG.JSXGraph.initBoard('box2', {boundingbox: [-5, 5, 5, -5], axis:true, grid:true});
 
var p1 = b2.create('point', [-2,-2]),
 
var p1 = b2.create('point', [-2,-2]),
 
     p2 = b2.create('point', [3,3]),
 
     p2 = b2.create('point', [3,3]),

Revision as of 15:04, 14 October 2014