Team:Groningen/Graphs/Characterization/pSB1A2time
From 2009.igem.org
{ script: "var d=[{title:'As(III)exT',data:[],args:{plot:'outer',stroke: { color: '#8B2500' }}},\
{title:'As(III)inT',data:[],args:{plot:'inner',stroke: { color: '#FF4500' }}}];\ if (experiments.pSB1A2time.bestSolution!=undefined) {\ var data = experiments.pSB1A2time.bestSolution.xt;\ var t = Number.NEGATIVE_INFINITY;\ for(var i=0; i<data.time.length; i++) {\ var f=data.time[i]/60;\ if (f>=t+0.1) {\ t = t+0.1;\ d[0].data.push({x:f,y:data.AsexT[i]*1e6});\ d[1].data.push({x:f,y:data.AsinT[i]*1e6});\ }\ }\ }\ d.push({title:'As(III)inT pSB1A2time',\ data:[{x:3,y:66.07047517}, {x:10,y:83.68926855}, {x:20,y:114.522157},\ {x:40,y:132.1409503}, {x:60,y:207.0208222}],\ args:{plot: 'inner', stroke: { color: '#FF4500' }}});\ for(j=2; j<d.length; j++) d[j].args.stroke.style = 'Dash';\ d;",
width: '10cm', 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} }, plots: { 'inner': {type: 'Lines', vAxis: 'innery'}, 'outer': {type: 'Lines', vAxis: 'outery'} } }