Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
Line 5: Line 5:
 
var plotData = function() {
 
var plotData = function() {
 
     var i, x=[], y=[], d;
 
     var i, x=[], y=[], d;
     var t = document.getElementByID('in_data').value;
+
     var t = document.getElementById('in_data').value;
 
     var data = t.split('\n');
 
     var data = t.split('\n');
 
     for (i=0;i<data.length;i++) {
 
     for (i=0;i<data.length;i++) {

Revision as of 00:07, 12 February 2010