Data plot: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
var plotData = function() { | var plotData = function() { | ||
var i, x=[], y=[], d; | var i, x=[], y=[], d; | ||
var t = document. | var t = document.getElementById('in_data').value; | ||
var data = t.split('\n'); | var data = t.split('\n'); | ||
for (i=0;i<data.length;i++) { | for (i=0;i<data.length;i++) { |