Team:Groningen/Graphs/AccumulationFactor

From 2009.igem.org

(Difference between revisions)
m (Percent)
(Asex concentration on x-axis)
Line 4: Line 4:
                 {title:'As(III)<sub>in</sub>T (200% GlpF)',data:[],args:{plot:'in',{{:Team:Groningen/Styles/As(III)}}}}];\
                 {title:'As(III)<sub>in</sub>T (200% GlpF)',data:[],args:{plot:'in',{{:Team:Groningen/Styles/As(III)}}}}];\
         d[1].args.stroke.style = 'Dash';\
         d[1].args.stroke.style = 'Dash';\
-
         if (!data) data = {AsT:[0], AsinT:[0], AsinT2:[0]};\
+
         if (!data) data = {AsT:[0], AsexT0:[0], AsinT:[0], AsinT2:[0]};\
         for(var i=0; i<data.AsT.length; i++) {\
         for(var i=0; i<data.AsT.length; i++) {\
-
           var f=data.AsT[i]*1e6;\
+
           var f=data.AsexT0[i]*1e6;\
           d[0].data.push({x:f,y:data.AsinT[i]*100});\
           d[0].data.push({x:f,y:data.AsinT[i]*100});\
           d[1].data.push({x:f,y:data.AsinT2[i]*100});\
           d[1].data.push({x:f,y:data.AsinT2[i]*100});\
Line 13: Line 13:
width: '10cm',
width: '10cm',
height: '8cm',
height: '8cm',
-
axes: {x: {title: "As(III)T (µmol)", minorLabels: false}, y: {title: "As(III) in cells (%)", vertical: true, min: 0, max: 100}},
+
axes: {x: {title: "As(III)<sub>ex</sub>T(0) (µM)", minorLabels: false}, y: {title: "As(III) in cells (%)", vertical: true, min: 0, max: 100}},
plots: { 'in': {type: 'Lines', vAxis: 'y'} }
plots: { 'in': {type: 'Lines', vAxis: 'y'} }
}
}

Revision as of 09:39, 21 September 2009

{ script: "var data = document.getElementById('accumulationFactorData').data;\

        var d=[{title:'As(III)inT',data:[],args:{plot:'in',stroke: { color: '#FF4500' }}},\
               {title:'As(III)inT (200% GlpF)',data:[],args:{plot:'in',stroke: { color: '#FF4500' }}}];\
        d[1].args.stroke.style = 'Dash';\
        if (!data) data = {AsT:[0], AsexT0:[0], AsinT:[0], AsinT2:[0]};\
        for(var i=0; i<data.AsT.length; i++) {\
          var f=data.AsexT0[i]*1e6;\
          d[0].data.push({x:f,y:data.AsinT[i]*100});\
          d[1].data.push({x:f,y:data.AsinT2[i]*100});\
        }\
        d;",

width: '10cm', height: '8cm', axes: {x: {title: "As(III)exT(0) (µM)", minorLabels: false}, y: {title: "As(III) in cells (%)", vertical: true, min: 0, max: 100}}, plots: { 'in': {type: 'Lines', vAxis: 'y'} } }