Data plot: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
y[i] = d[0]*1.0; | y[i] = d[0]*1.0; | ||
} | } | ||
var maX = JXG.Mat.Statistics.max(x); | |||
var maY = JXG.Mat.Statistics.max(y); | |||
brd.setBoundingBox([-100,maxX,maxY,-400]); | |||
c.dataX = x; | c.dataX = x; | ||
c.dataY = y; | c.dataY = y; |