Exemplo n.º 1
0
 public void drawLines(int it, int runnum) {
   for (int i = lastDrawn; i < runnum; i++) {
     for (int yy = 1; yy < it; yy++) {
       CApicture.drawALine(savedvals[i][yy - 1], yy - 1, savedvals[i][yy], yy, javaColours[1]);
     }
   }
   lastDrawn = runCount;
   CApicture.updateGraphic();
 }
Exemplo n.º 2
0
  public void drawLines() {

    if (iterations > 0) {
      CApicture.drawALine(
          experiment.savedx[iterations - 1],
          iterations - 1,
          experiment.savedx[iterations],
          iterations,
          javaColours[1]);
      CApicture.updateGraphic();
    }
  }