#include <chplot.h>
int main() {
array double x1[75], y1[75];
array double x2[300], y2[300];
class CPlot plot;
linspace(x1, -2*M_PI, 2*M_PI);
linspace(x2, -2*M_PI, 2*M_PI);
y1 = x1.*x1+5*sin(10*x1);
y2 = x2.*x2+5*sin(10*x2);
plot.data2D(x1, y1);
plot.data2D(x2, y2);
plot.plotType(PLOT_PLOTTYPE_POINTS, 0, 6, 1);
plot.plotType(PLOT_PLOTTYPE_LINES, 1, 2, 1);
plot.plotting();
}