Lattices: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<jsxgraph height="500" width="600" board="board" box="box1"> | <jsxgraph height="500" width="600" board="board" box="box1"> | ||
brd = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 250, unitX: 50, unitY: 50, axis:true}); | brd = JXG.JSXGraph.initBoard('box1', {originX: 250, originY: 250, unitX: 50, unitY: 50, axis:true}); | ||
var b1 = brd.createElement('point', [1,0], {style: | var b1 = brd.createElement('point', [1,0], {style:6,name:''}); | ||
var b2 = brd.createElement('point', [0,1], {style: | var b2 = brd.createElement('point', [0,1], {style:6,name:''}); | ||
var v1 = brd.createElement('vector', [' | var v1 = brd.createElement('vector', ['Origin',b1]); | ||
var v2 = brd.createElement('vector', [' | var v2 = brd.createElement('vector', ['Origin',b2]); | ||
</jsxgraph> | </jsxgraph> | ||
[[Category:Examples]] | [[Category:Examples]] |