Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
Line 7: Line 7:
 
     var t = document.getElementById('in_data').value;
 
     var t = document.getElementById('in_data').value;
 
     var data = t.split('\n');
 
     var data = t.split('\n');
     var maX = 0.0;
+
     var maxX = 0.0;
     var maY = 0.0;
+
     var maxY = 0.0;
 
     for (i=0;i<data.length;i++) {
 
     for (i=0;i<data.length;i++) {
 
         d = data[i].split(';');
 
         d = data[i].split(';');

Revision as of 00:15, 12 February 2010