#include <math.h>
#include <chplot.h>

int main() {
    int numpoints = 14;
    array double x[numpoints], y[numpoints];
    class CPlot plot;

    linspace(x, 0, numpoints-1);
    y = x.*x;
    plot.ticsDay(PLOT_ON);
    plot.data2D(x, y);
    plot.plotting();
}