Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
Line 20: Line 20:
 
         if (y[i]<minY) minY = y[i];
 
         if (y[i]<minY) minY = y[i];
 
     }
 
     }
     brd.setBoundingBox([-100,maxY*1.01,maxX*1.01,minY*0.99]);
+
     brd.setBoundingBox([-100,maxY*1.01,maxX*1.05,minY*0.95]);
 
     var c = brd.create('curve',[x,y],{strokeColor:color[nr%color.length]});
 
     var c = brd.create('curve',[x,y],{strokeColor:color[nr%color.length]});
 
     nr++;
 
     nr++;

Revision as of 13:39, 13 February 2010


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