Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 383: Line 383:
  var vmin= simulations[simid].draw_min_v;
  var vmin= simulations[simid].draw_min_v;
  var vmax= simulations[simid].draw_max_v;
  var vmax= simulations[simid].draw_max_v;
-
  return simulations[simid].canv.height*(v-vmin)/(vmax-vmin);
+
  return simulations[simid].canv.height*(1.0 - (v-vmin)/(vmax-vmin));
}
}

Revision as of 01:33, 3 August 2013