Template:Team:Paris Saclay/simbox
From 2013.igem.org
(Difference between revisions)
Line 393: | Line 393: | ||
for(var i= 0 ; i < sim.molecules.length ; ++i) | for(var i= 0 ; i < sim.molecules.length ; ++i) | ||
{ | { | ||
- | if(sim. | + | if(sim.molecules[i].curve_show) |
{ | { | ||
- | var dta= sim. | + | var dta= sim.molecules[i].history; |
if(dta.length < 2) continue; | if(dta.length < 2) continue; | ||
ctx.moveTo( simbox_drawXcoord(simid, 0), simbox_drawYcoord(simid, dta[0]) ); | ctx.moveTo( simbox_drawXcoord(simid, 0), simbox_drawYcoord(simid, dta[0]) ); |
Revision as of 01:08, 3 August 2013