Highlight from Text: Difference between revisions
From JSXGraph Wiki
No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-4, 2, 6, -2]}); | var brd = JXG.JSXGraph.initBoard('jxgbox', {boundingbox: [-4, 2, 6, -2]}); | ||
var p1 = brd. | var p1 = brd.create('point',[-1,1], {name:'A',style:6}); | ||
var p2 = brd. | var p2 = brd.create('point',[2,-1], {name:'B',style:6}); | ||
var l = brd. | var l = brd.create('line',["A","B"], {strokeColor:'#00ff00',strokeWidth:2}); | ||
</script> | </script> | ||
</html> | </html> |