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(); }
public void drawLines() { if (iterations > 0) { CApicture.drawALine( experiment.savedx[iterations - 1], iterations - 1, experiment.savedx[iterations], iterations, javaColours[1]); CApicture.updateGraphic(); } }
public void drawCA() { int a; // CApicture.clearCAPanel(); for (CACell c : experiment.tissue) { a = c.lineage; if (a > 0) a = (a - 1) % nnw + 1; // if(a<7){ CApicture.drawCircleAt(c.home.x, iterations, javaColours[a]); // }else{ // CApicture.drawCircleAt(c.home.x,iterations,Color.orange); // } } CApicture.updateGraphic(); }
public void drawCount(int ind) { CApicture.drawCircleAt(ind, dCount[ind], javaColours[1], 2); CApicture.updateGraphic(); }