Team:Groningen/Graphs/Characterization/pSB1A2con

From 2009.igem.org

Revision as of 12:20, 13 October 2009 by Kbover (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{ 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' }}},\
               {title:'As(III)inT pSB1A2con',data:[],\
                                                       args:{plot: 'inner',stroke: { color: '#FF4500' }}}];\
        if (experiments.pSB1A2con.bestSolution!=undefined) {\
          var data = experiments.pSB1A2con.bestSolution.xt;\
          for(var i=0; i<data.AsT.length; i++) {\
            d[0].data.push({x:data.AsT[i]*1e6,y:data.AsexT[i]*1e6});\
            d[1].data.push({x:data.AsT[i]*1e6,y:data.AsinT[i]*1e6});\
          }\
        }\
        var data = experiments.pSB1A2con.data;\
        for(var i=0; i<data.AsT.length; i++) {\
          d[2].data.push({x:data.AsT[i]*1e6,y:data.AsinT[i]*1e6});\
        }\
        for(j=2; j<d.length; j++) d[j].args.stroke.style = 'Dash';\
        d;",

width: '10cm', height: '8cm', axes: {x: {title: "AsT (µmol)", 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'} } }