Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 270: Line 270:
  }
  }
   
   
-
  simbox_draw_graph(simid);
+
  //simbox_draw_graph(simid);
  simbox_update_controls(simid);
  simbox_update_controls(simid);
Line 372: Line 372:
}
}
-
function simbox_drawXcoord(simid, t)
 
-
{
 
-
var tmin= simulations[simid].draw_min_t;
 
-
var tmax= simulations[simid].draw_max_t;
 
-
return simulations[simid].canv.width*(t-tmin)/(tmax-tmin);
 
-
}
 
-
function simbox_drawYcoord(simid, v)
 
-
{
 
-
var vmin= simulations[simid].draw_min_v;
 
-
var vmax= simulations[simid].draw_max_v;
 
-
return simulations[simid].canv.height*(v-vmin)/(vmax-vmin);
 
-
}
 
-
 
-
function simbox_draw_graph(simid)
 
-
{
 
-
 
-
}
 

Revision as of 01:05, 3 August 2013