{
for (var i=-6, x=[]; i <= 6; i += 0.1) x.push(i);
var d1 = {
name: 'f1', mode: 'lines', type: 'scatter',
x: x, y: x.map(f1)
};
var d2 = {
name: 'f2', mode: 'lines', type: 'scatter',
x: x, y: x.map(f2)
};
var d3 = {
name: 'f3', mode: 'lines', type: 'scatter',
x: x, y: x.map(f3)
};
const div = DOM.element('div');
Plotly.newPlot(div, [d1, d2, d3], {width: width, height: width, yaxis: {range: [-8, 8]}});
return div;
}