Rational functions: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/pro...) |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
<script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script> | <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script> | ||
<form><input type="button" value="Add point" onClick="addPoint1()"></form> | <form><input type="button" value="Add point" onClick="addPoint1()"></form> | ||
<div id="box1" class="jxgbox" style="width: | <div id="box1" class="jxgbox" style="width:300px; height:400px;"></div> | ||
<script language="JavaScript"> | <script language="JavaScript"> | ||
board = JXG.JSXGraph.initBoard('box1', {originX: | board = JXG.JSXGraph.initBoard('box1', {originX: 150, originY: 200, unitX: 30, unitY: 25}); | ||
// Axes | // Axes | ||
b1axisx = board.createElement('axis', [[0,0], [1,0]], {}); | b1axisx = board.createElement('axis', [[0,0], [1,0]], {}); |
Revision as of 13:16, 15 December 2008