{
const div = DOM.element('div');
const err2 = err(inputData, outputDataRadix2);
const err4 = err(inputData, outputDataRadix4);
Plotly.newPlot(div, [
complexPlot(err2, 'radix2'),
complexPlot(err4, 'radix4'),
], {
shapes: [
bound(err2, 'rgb(31,119,180)'),
bound(err4, 'rgb(255,127,14)')
],
width: width,
height: width,
xaxis: {range: [-6e-6, 6e-6]},
yaxis: {range: [-6e-6, 6e-6]}
});
return div;
}