Dual lattice: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
<jsxgraph height="500" width="500" board="board"  box="box1">
<jsxgraph height="500" width="500" board="board"  box="box1">
brd = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], axis:true});
brd = JXG.JSXGraph.initBoard('box1', {boundingbox: [-5, 5, 5, -5], axis:true});
var b1 = brd.create('point', [4,0], {size:6, name:'', color:'blue'}),
var b1 = brd.create('point', [4,0], {size:6, name:'', color:'blue', snaptogrid: true}),
     b2 = brd.create('point', [3,3], {size:6, name:'', color:'blue'}),
     b2 = brd.create('point', [3,3], {size:6, name:'', color:'blue', snaptogrid: true}),
     v1 = brd.create('arrow', [[0,0], b1], {strokeColor: 'black'}),   
     v1 = brd.create('arrow', [[0,0], b1], {strokeColor: 'black'}),   
     v2 = brd.create('arrow', [[0,0], b2], {strokeColor: 'red'}),
     v2 = brd.create('arrow', [[0,0], b2], {strokeColor: 'red'}),

Revision as of 15:12, 16 June 2016