@@ -875,7 +875,7 @@ public class UnitGraph extends JPanel implements MouseListener, MouseMotionListe
static int lv=0;
public static int getEffectiveIndex(Model m, IGraphedElement e, int timeStep){
- if(e.isStretching())return timeStep*100/(m==null?100:m.getIterations());
+ if(e.isStretching())return timeStep*100/(m==null?STANDARD_GRAPH_ACCURACY:m.getIterations());
else return timeStep%e.getLocalPeriod()*100/e.getLocalPeriod();
}