Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
Line 16: Line 16:
 
         if (y[i]>maxY) maxY = y[i];
 
         if (y[i]>maxY) maxY = y[i];
 
     }
 
     }
     brd.setBoundingBox([-100,maxX,maxY,-400]);
+
     brd.setBoundingBox([-100,maxY,maxX,-400]);
 
     c.dataX = x;
 
     c.dataX = x;
 
     c.dataY = y;
 
     c.dataY = y;

Revision as of 00:17, 12 February 2010