Team:Groningen/Graphs/PromoterActivation

From 2009.igem.org

(Difference between revisions)
m
(Show both product and ars.)
Line 2: Line 2:
script: "var data = document.getElementById('promoterActivationData').data;\
script: "var data = document.getElementById('promoterActivationData').data;\
         if (!data) data = {ars:[]};\
         if (!data) data = {ars:[]};\
-
         var d=[{title:'ars (pro=2/cell)',data:data.ars,args:{plot:'in'}}];\
+
         var d=[{title:'ars (pro=2/cell)',data:data.ars[0],args:{plot:'in'}},
 +
                {title:'product',data:data.ars[1],args:{plot:'p'}},];\
         d;",
         d;",
width: '8cm',
width: '8cm',
height: '6cm',
height: '6cm',
-
axes: {x: {title: "Time (min)", minorLabels: false}, y: {title: "Unbound ars (%)", vertical: true, min: 0}},
+
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'} }
}
}

Revision as of 13:14, 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'} } }