Slide 374
Slide 374 text
eval(codeList[i]);
this.plotsList[size+i] = {};
} else
this.plotsList[size+i] = this.curve(codeList[i], ymin, ymax);
}
return this.plotsList;
}
return this;
}
function drawCurveList(target, codeList, from, to, ymin, ymax, step) {
eval("fx = function(x) { return x; }");
var c = new ExpCurve(from, to, step);
$.plot($(target), c.curveList(codeList, ymin, ymax), {
yaxis: { min: ymin, max: ymax },
series: {
lines: { show: true },
points: { show: false },
bars: { show: false, barWidth: step },
}
});
return c;
}
function drawGraph() {
var from = eval($("#from").val());
374