try {
xPos = x.getNextInt();
if (i % getStep() == 0) {
updateInfos(i, "Plotting obs " + i, false);
}
g1.fillOval((int) ((x.getValue(xPos) - xMin) / (xMax - xMin) * (WIDTH - 2)), (HEIGHT - 2)
- (int) ((x.getValue(xPos, yVar) - yMin) / (yMax - yMin) * (HEIGHT - 1)), pointSize, pointSize);
} catch (Exception e) {
break;
}
}