Team:Groningen/Graphs/GlpFTransport
From 2009.igem.org
(Difference between revisions)
m |
m |
||
Line 22: | Line 22: | ||
width: '10cm', | width: '10cm', | ||
height: '8cm', | height: '8cm', | ||
- | axes: {x: {title: "time (min)", minorLabels: false}, innery: {title: "concentration in cell (µM)", vertical: true, min: 0}, outery: {title: "concentration in solution (µM)", vertical: true, leftBottom: false, min: 0} }, | + | axes: {x: {title: "time (min)", minorLabels: false}, innery: {title: "concentration in cell (µM)", vertical: true, min: 0, max: 1200}, outery: {title: "concentration in solution (µM)", vertical: true, leftBottom: false, min: 0} }, |
plots: { 'inner': {type: 'Lines', vAxis: 'innery'}, 'innerm': {type: 'Lines', vAxis: 'innery', lines: false, markers: true}, 'outer': {type: 'Lines', vAxis: 'outery'} } | plots: { 'inner': {type: 'Lines', vAxis: 'innery'}, 'innerm': {type: 'Lines', vAxis: 'innery', lines: false, markers: true}, 'outer': {type: 'Lines', vAxis: 'outery'} } | ||
} | } |
Revision as of 14:45, 21 July 2009
{ script: "var data=[Number(document.getElementById('As3exInitial').value)*1e-6,0],\
Vcells=Number(document.getElementById('Vcells').value)*1e-6,\ Vmedium=Number(document.getElementById('Vmedium').value)*1e-6,\ Vmax=Number(document.getElementById('Vmax').value),\ K=Number(document.getElementById('KGlpF').value)*1e-6;\ var ddata=new Array(data.length);\ var d=[{title:'As(III)ex',data:[],args:{plot:'outer'}},\ {title:'As(III)',data:[],args:{plot:'inner'}}];\ for(var j in data) d[j].data.push({x:0,y:data[j]*1e6});\ for(var i=1; i<=3600; i++) {\ var f=i/60;\ ddata[0] = -Vmax*Vcells*data[0]/(K+data[0]);\ ddata[1] = -ddata[0]*(Vmedium/Vcells);\ for(var j in data) data[j] += ddata[j];\ for(var j in data) d[j].data.push({x:f,y:data[j]*1e6});\ }\ d.push({title:'As(III) Meng2004',\ data:[{x:1,y:93},{x:10,y:360},{x:20,y:660},{x:40,y:1014},{x:60,y:1122}],\ args:{plot: 'innerm'}});\ d;",
width: '10cm', height: '8cm', axes: {x: {title: "time (min)", minorLabels: false}, innery: {title: "concentration in cell (µM)", vertical: true, min: 0, max: 1200}, outery: {title: "concentration in solution (µM)", vertical: true, leftBottom: false, min: 0} }, plots: { 'inner': {type: 'Lines', vAxis: 'innery'}, 'innerm': {type: 'Lines', vAxis: 'innery', lines: false, markers: true}, 'outer': {type: 'Lines', vAxis: 'outery'} } }