Difference between revisions of "Plot data with slider"

From JSXGraph Wiki
Jump to: navigation, search
Line 15: Line 15:
 
     this.dataY = [];
 
     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] * Math.sin(mu.Value());
 
     }
 
     }
 
};
 
};

Revision as of 09:52, 12 April 2014

The JavaScript code