Team:Groningen/Graphs/PromoterActivation

From 2009.igem.org

(Difference between revisions)
(New page: { script: "var data = document.getElementById('promoterActivationData').data;\ var d=[{title:'()',data:[],args:{plot:'in'}},\ {title:'(pro=0)',data:[],args:{plot:'...)
m
 
(11 intermediate revisions not shown)
Line 1: Line 1:
{
{
script: "var data = document.getElementById('promoterActivationData').data;\
script: "var data = document.getElementById('promoterActivationData').data;\
-
         var d=[{title:'()',data:[],args:{plot:'in'}},\
+
        if (!data) data = {ars:[[],[]]};\
-
                 {title:'(pro=0)',data:[],args:{plot:'in'}}];\
+
         var d=[{title:'ars (pro=2/cell)',data:data.ars[0],args:{plot:'in'}},\
-
        if (!data) data = {time:[]};\
+
                 {title:'product',data:data.ars[1],args:{plot:'p'}}];\
-
        for(var i=0; i<data.time.length; i++) {\
+
-
          var f=data.time[i]/60;\
+
-
          d[0].data.push({x:f,y:data.ars[i]*100});\
+
-
          d[1].data.push({x:f,y:data.arsNP[i]*100});\
+
-
        }\
+
         d;",
         d;",
-
width: '10cm',
+
width: '8cm',
-
height: '8cm',
+
height: '6cm',
-
axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0, max: 100}},
+
axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0}, yp: {title: "Product", vertical: true, min: 0, leftBottom: false}},
-
plots: { 'in': {type: 'Lines', vAxis: 'y'} }
+
plots: { 'in': {type: 'Lines', vAxis: 'y'}, 'p': {type: 'Lines', vAxis: 'yp'} }
}
}

Latest revision as of 13:21, 21 September 2009

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

        if (!data) data = {ars:[[],[]]};\
        var d=[{title:'ars (pro=2/cell)',data:data.ars[0],args:{plot:'in'}},\
               {title:'product',data:data.ars[1],args:{plot:'p'}}];\
        d;",

width: '8cm', height: '6cm', axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0}, yp: {title: "Product", vertical: true, min: 0, leftBottom: false}}, plots: { 'in': {type: 'Lines', vAxis: 'y'}, 'p': {type: 'Lines', vAxis: 'yp'} } }