Data plot: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
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 23:17, 11 February 2010