Data plot: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
nr++; | nr++; | ||
brd.update(); | brd.update(); | ||
} | }; | ||
var clear = function() { | var clear = function() { | ||
JXG.JSXGraph.freeBoard(brd); | JXG.JSXGraph.freeBoard(brd); | ||
Line 28: | Line 29: | ||
maxX = 0.0; | maxX = 0.0; | ||
maxY = 0.0; | maxY = 0.0; | ||
} | }; | ||
var clearInput = function() { | var clearInput = function() { | ||
document.getElementById('in_data').value = ''; | document.getElementById('in_data').value = ''; | ||
} | }; | ||
</jsxgraph> | </jsxgraph> | ||
<html> | <html> |