Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
 
Line 12: Line 12:
 
     var t = document.getElementById('in_data').value;
 
     var t = document.getElementById('in_data').value;
 
     var data = t.split('\n');
 
     var data = t.split('\n');
    data.sort();
 
 
     for (i=0;i<data.length-1;i++) {
 
     for (i=0;i<data.length-1;i++) {
 
         d = data[i].split(';');
 
         d = data[i].split(';');

Latest revision as of 08:41, 6 July 2011


Spalte 1: y-Koordinate, Spalte 2: x-Koordinate