this.chart2D1.removeAllTraces();
//this.chart2D2.removeAllTraces();
if (act) {
chart2D1.addTrace(traceA);
traceA.setColor(Color.CYAN);
traceA.setTracePainter(new TracePainterDisc(4));
}
if (learn) {
chart2D1.addTrace(traceL);
traceL.setColor(Color.MAGENTA);
traceL.setTracePainter(new TracePainterDisc(4));
}
if (predict) {
chart2D1.addTrace(traceP);
traceP.setColor(Color.BLUE);
traceP.setTracePainter(new TracePainterDisc(4));
}
if (showDistalSegmentsCount) {
chart2D1.addTrace(traceD);
traceD.setTracePainter(new TracePainterDisc(4));
}
if (drawTimeline)
chart2D2.addTrace(traceTMLN);
if (perm) {
chart2D1.addTrace(traceS);
traceS.setColor(Color.BLUE);
traceS.setTracePainter(new TracePainterDisc(4));
}
if (over) {
chart2D1.addTrace(traceO);
traceO.setColor(Color.RED);
traceO.setTracePainter(new TracePainterDisc(4));
}
if (adc) {
chart2D1.addTrace(traceADC);
traceADC.setColor(Color.GREEN);
traceADC.setTracePainter(new TracePainterDisc(4));
}
if (mdc) {
chart2D1.addTrace(traceMDC);
traceMDC.setColor(Color.GRAY);
traceMDC.setTracePainter(new TracePainterDisc(4));
}
if (odc) {
chart2D1.addTrace(traceODC);
traceODC.setColor(Color.ORANGE);
traceODC.setTracePainter(new TracePainterDisc(4));
}
if (bst) {
chart2D1.addTrace(traceBST);
traceBST.setColor(Color.DARK_GRAY);
traceBST.setTracePainter(new TracePainterDisc(4));
}
if (inp) {
chart2D1.addTrace(traceINP);
traceINP.setColor(Color.RED);
traceINP.setTracePainter(new TracePainterDisc(4));
}
}