Difference between revisions of "Plot data with slider"

From JSXGraph Wiki
Jump to: navigation, search
Line 12: Line 12:
 
plot.updateDataArray = function() {
 
plot.updateDataArray = function() {
 
     var i, len = plotData[1].length;
 
     var i, len = plotData[1].length;
      
+
 
 +
     this.dataY = [];
 
     for (i = 0; i < len; i++) {
 
     for (i = 0; i < len; i++) {
 
         this.dataY[i] = plotData[1][i] * mu.Value();
 
         this.dataY[i] = plotData[1][i] * mu.Value();

Revision as of 09:41, 12 April 2014

The JavaScript code