Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
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>

Revision as of 01:36, 12 February 2010