我目前正在 JSXgraph 上绘制 log10 函数,但是阴影出现故障。这发生在对数、有理、平方根函数上。
Log10 函数:
var graph = board.create('functiongraph', [function (x) { return (a * ((Math.log10(b * (x - h))) / Math.log10(c)) + k); }], { id: field, strokeColor: color, highlightStrokeColor: 'yellow', strokeWidth: 2 });
graph.on('down', function (e, i) {
showMaster(this.id);
});
graphMap.set(field, graph);
//inequality(sym, field, graph, color);
var ineq_lower = board.create('inequality', [graph], { visible: false, strokeColor: color, fixed: true, dash: 2 });
var ineq_upper = board.create('inequality', [graph], { inverse: true, strokeColor: color, fixed: true, dash: 2 });