Team:Groningen/Graphs/PromoterActivationNP
From 2009.igem.org
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
{ | { | ||
script: "var data = document.getElementById('promoterActivationData').data;\ | script: "var data = document.getElementById('promoterActivationData').data;\ | ||
- | if (!data) data = {arsNP:[]};\ | + | if (!data) data = {arsNP:[[],[]]};\ |
- | var d=[{title:'ars (pro=0)',data:data.arsNP,args:{plot:'in'}}];\ | + | var d=[{title:'ars (pro=0)',data:data.arsNP[0],args:{plot:'in'}},\ |
+ | {title:'ars (pro=0)',data:data.arsNP[1],args:{plot:'in'}}];\ | ||
d;", | d;", | ||
width: '8cm', | width: '8cm', |
Revision as of 13:16, 21 September 2009
{ script: "var data = document.getElementById('promoterActivationData').data;\
if (!data) data = {arsNP:[[],[]]};\ var d=[{title:'ars (pro=0)',data:data.arsNP[0],args:{plot:'in'}},\ {title:'ars (pro=0)',data:data.arsNP[1],args:{plot:'in'}}];\ 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'} } }