4 ms·
I'd imagine an issue with most plotting APIs is that they're declarative, and specified in terms of a semi-mathematical domain -- rather than imperative and spe
by mjburgess 3y ago
I'd imagine an issue with most plotting APIs is that they're declarative, and specified in terms of a semi-mathematical domain -- rather than imperative and specified as graphics operations. Since they're graphics libraries, that would make their operation more obvious.
eg., pseudocode,
def plotLinear(data, options):
drawCanvas(options);
drawAxes(options);
drawGrid(options);
drawPoints(data);
drawLine(calcRegressionLine(data));
drawLabel(options);