Data plot: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
 
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 07:41, 6 July 2011


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