Difference between revisions of "Data plot"

From JSXGraph Wiki
Jump to navigationJump to search
Line 12: Line 12:
 
         y[i] = d[0]*1.0;
 
         y[i] = d[0]*1.0;
 
     }
 
     }
     var maX = JXG.Mat.Statistics.max(x);
+
     var maX = JXG.Math.Statistics.max(x);
     var maY = JXG.Mat.Statistics.max(y);
+
     var maY = JXG.Math.Statistics.max(y);
 
     brd.setBoundingBox([-100,maxX,maxY,-400]);
 
     brd.setBoundingBox([-100,maxX,maxY,-400]);
 
     c.dataX = x;
 
     c.dataX = x;

Revision as of 01:11, 12 February 2010