Difference between revisions of "Point"
From JSXGraph Wiki
Jump to navigationJump to searchLine 8: | Line 8: | ||
var p = board.createElement('point',[1,1]); | var p = board.createElement('point',[1,1]); | ||
</script> | </script> | ||
+ | </html> | ||
It is produced by the following commands: | It is produced by the following commands: | ||
<source lang="xml"> | <source lang="xml"> |
Revision as of 11:20, 17 September 2008
This example shows how to construct a simple, draggable point:
It is produced by the following commands:
<script type="text/javascript">
var board = JXG.JSXGraph.initBoard('jxgbox', {originX: 200, originY: 100, unitX: 50, unitY: 50});
var p = board.createElement('point',[1,1]);
</script>